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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 105.5 kB / 16.41 MB, free: 6.516 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.001188/0.001188, allocations: 186.7 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06239/0.06239, allocations: 10.74 MB / 281.3 MB, free: 1.277 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 64.33 kB / 391.5 MB, free: 46.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07587/0.07737, allocations: 49.02 MB / 440.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.002159/0.07956, allocations: 1.662 MB / 442.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005672/0.08015, allocations: 374.6 kB / 442.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.08022, allocations: 0 / 442.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.08026, allocations: 11.81 kB / 442.6 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.948e-05/0.08037, allocations: 31.72 kB / 442.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.08069, allocations: 119.6 kB / 442.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.08085, allocations: 155.7 kB / 442.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.08095, allocations: 21.66 kB / 442.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.08101, allocations: 71.64 kB / 443 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.08109, allocations: 83.59 kB / 443 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.08113, allocations: 16 kB / 443.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.08123, allocations: 79.94 kB / 443.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.08127, allocations: 47.77 kB / 443.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.08134, allocations: 75.58 kB / 443.3 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.08153, allocations: 203.3 kB / 443.5 MB, free: 1.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.08155, allocations: 0 / 443.5 MB, free: 1.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08155, allocations: 0 / 443.5 MB, free: 1.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.08157, allocations: 0 / 443.5 MB, free: 1.004 MB / 318.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.0005891/0.08216, allocations: 490.8 kB / 443.9 MB, free: 484 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.08221, allocations: 8.031 kB / 443.9 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.08227, allocations: 20.75 kB / 444 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.08247, allocations: 239.7 kB / 444.2 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.08249, allocations: 8.562 kB / 444.2 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.08253, allocations: 8.375 kB / 444.2 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.08283, allocations: 182.1 kB / 444.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.08285, allocations: 4 kB / 444.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.08288, allocations: 8 kB / 444.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.0829, allocations: 4 kB / 444.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.08307, allocations: 55.95 kB / 444.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.08386, allocations: 468.5 kB / 444.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.08411, allocations: 126.6 kB / 445 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.08426, allocations: 71.02 kB / 445.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.08429, allocations: 4 kB / 445.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.08457, allocations: 146.5 kB / 445.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.08458, allocations: 0 / 445.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005466/0.08513, allocations: 253.4 kB / 445.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.08524, allocations: 174.1 kB / 445.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.08544, allocations: 198.7 kB / 445.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.08548, allocations: 33.7 kB / 445.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.08558, allocations: 124.5 kB / 446 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.08563, allocations: 59.19 kB / 446.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.08571, allocations: 57.7 kB / 446.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.08584, allocations: 330.8 kB / 446.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.08596, allocations: 52.25 kB / 446.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.08615, allocations: 171 kB / 446.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.08648, allocations: 230.1 kB / 446.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.08649, allocations: 3.938 kB / 446.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003852/0.08688, allocations: 249.2 kB / 447.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.0869, allocations: 8 kB / 447.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.08692, allocations: 0 / 447.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.08694, allocations: 8 kB / 447.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.08717, allocations: 47.84 kB / 447.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.08718, allocations: 8 kB / 447.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.08731, allocations: 27.75 kB / 447.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.08733, allocations: 8.312 kB / 447.3 MB, free: 12.83 MB / 334.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.0001611/0.0875, allocations: 159.4 kB / 447.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.08755, allocations: 15.81 kB / 447.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.0876, allocations: 29.86 kB / 447.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.08762, allocations: 0 / 447.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.08762, allocations: 0 / 447.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.08768, allocations: 92.86 kB / 447.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.08772, allocations: 11.98 kB / 447.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.08782, allocations: 8 kB / 447.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.08788, allocations: 19.92 kB / 447.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005738/0.08846, allocations: 304.7 kB / 447.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005635/0.08903, allocations: 451 kB / 448.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001268/0.08917, allocations: 67.98 kB / 448.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.08929, allocations: 144.2 kB / 448.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.0893, allocations: 4 kB / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005791/0.08988, allocations: 210.5 kB / 448.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007533/0.09065, allocations: 0.7681 MB / 449.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of Templates: time 0.005496/0.09616, allocations: 2.602 MB / 452.1 MB, free: 7.891 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.makefile (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)