Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 90] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005212/0.005212, allocations: 103.6 kB / 15.74 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 202.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.1748/0.1748, allocations: 11.15 MB / 301.7 MB, free: 1.309 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 68.03 kB / 417.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2554, allocations: 51.98 MB / 469.8 MB, free: 17.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.002434/0.2579, allocations: 1.674 MB / 471.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006227/0.2585, allocations: 370.2 kB / 471.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.2586, allocations: 4.969 kB / 471.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.2586, allocations: 12.78 kB / 471.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.901e-05/0.2588, allocations: 20.22 kB / 471.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.2591, allocations: 128.5 kB / 472 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.2592, allocations: 149.5 kB / 472.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2593, allocations: 29.08 kB / 472.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.2594, allocations: 63.97 kB / 472.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.2595, allocations: 79.8 kB / 472.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.2595, allocations: 14.47 kB / 472.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2597, allocations: 78.06 kB / 472.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.2597, allocations: 50.5 kB / 472.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.2598, allocations: 78.36 kB / 472.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.26, allocations: 203.3 kB / 472.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.26, allocations: 4 kB / 472.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.26, allocations: 0 / 472.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.26, allocations: 0 / 472.7 MB, free: 15.21 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005801/0.2606, allocations: 487 kB / 473.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.2607, allocations: 18.53 kB / 473.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.2607, allocations: 23.22 kB / 473.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.2609, allocations: 237.2 kB / 473.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2609, allocations: 9.781 kB / 473.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.261, allocations: 20.73 kB / 473.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.2612, allocations: 166.9 kB / 473.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2613, allocations: 5.125 kB / 473.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.2613, allocations: 9.016 kB / 473.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2613, allocations: 2.969 kB / 473.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.2615, allocations: 57.94 kB / 473.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.2621, allocations: 460 kB / 474.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.2623, allocations: 132.3 kB / 474.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.2624, allocations: 68.95 kB / 474.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.2625, allocations: 1.438 kB / 474.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.2627, allocations: 147.9 kB / 474.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.2627, allocations: 0 / 474.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004803/0.2632, allocations: 260.5 kB / 474.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.2633, allocations: 163.7 kB / 474.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2634, allocations: 201.9 kB / 475.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2634, allocations: 37.83 kB / 475.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.2635, allocations: 128.6 kB / 475.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.2635, allocations: 62.39 kB / 475.4 MB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.2636, allocations: 59.66 kB / 475.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.2637, allocations: 330.9 kB / 475.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.2638, allocations: 51.75 kB / 475.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.2639, allocations: 164.9 kB / 476 MB, free: 12.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.2642, allocations: 226.6 kB / 476.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2642, allocations: 1.375 kB / 476.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003373/0.2645, allocations: 258.5 kB / 476.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2645, allocations: 8.406 kB / 476.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2645, allocations: 3.469 kB / 476.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2646, allocations: 4.156 kB / 476.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.2648, allocations: 55.88 kB / 476.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2648, allocations: 4.5 kB / 476.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.2649, allocations: 29.22 kB / 476.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.2649, allocations: 9.406 kB / 476.5 MB, free: 12.06 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: cplxP_dig_TU.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_FE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_BE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cplxP_dig_TU.u_pre1,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,$PRE.cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_TU.y,$PRE.cplxP_dig_TU.y,cplxP_dig_FE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.2651, allocations: 154.7 kB / 476.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.2651, allocations: 24.98 kB / 476.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.2652, allocations: 23.42 kB / 476.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2652, allocations: 1.438 kB / 476.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2652, allocations: 0 / 476.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2652, allocations: 1.25 kB / 476.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.2657, allocations: 0.5249 MB / 477.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2657, allocations: 4 kB / 477.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.2658, allocations: 26.3 kB / 477.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.2659, allocations: 5.016 kB / 477.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.2659, allocations: 2.969 kB / 477.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2659, allocations: 5 kB / 477.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2659, allocations: 1.125 kB / 477.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.2664, allocations: 384.1 kB / 477.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.2664, allocations: 102.8 kB / 477.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.2665, allocations: 8.438 kB / 477.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2666, allocations: 8.109 kB / 477.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.2666, allocations: 17.77 kB / 477.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.2667, allocations: 5.562 kB / 477.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.128e-05/0.2668, allocations: 144.1 kB / 478 MB, free: 10.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2668, allocations: 1.125 kB / 478 MB, free: 10.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.2671, allocations: 49.55 kB / 478 MB, free: 10.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (cplxP.y,cplxP.dy) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_BE.y,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,cplxP_dig_FE.y,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,cplxP_dig_TU.y,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1) * Number of discrete states: 12 (cplxP_dig_TU.u,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y,cplxP_dig_TU.y_pre1,cplxP_dig_FE.u,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y,cplxP_dig_FE.y_pre1,cplxP_dig_BE.u,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y,cplxP_dig_BE.y_pre1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001602/0.2673, allocations: 148.5 kB / 478.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.2676, allocations: 155.6 kB / 478.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2676, allocations: 1.031 kB / 478.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.2678, allocations: 83.41 kB / 478.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2681, allocations: 31.28 kB / 478.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.2687, allocations: 353.5 kB / 478.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.2688, allocations: 0.7231 MB / 479.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.34e-05/0.2689, allocations: 30.44 kB / 479.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.269, allocations: 20.31 kB / 479.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.269, allocations: 3.938 kB / 479.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of Templates: time 0.005522/0.2745, allocations: 2.4 MB / 481.9 MB, free: 8.508 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 480]