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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001182, allocations: 172 kB / 16.11 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.07055/0.07055, allocations: 10.76 MB / 27.63 MB, free: 1.832 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 236.2 MB, free: 12.23 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 101.2 kB / 287 MB, free: 12.66 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004138, allocations: 12 kB / 347.6 MB, free: 15.9 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2657, allocations: 49.99 MB / 397.6 MB, free: 34.64 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.3684, allocations: 77.69 MB / 475.3 MB, free: 4.84 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.3687, allocations: 79.89 kB / 475.4 MB, free: 4.762 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.007936/0.3766, allocations: 3.066 MB / 478.5 MB, free: 1.684 MB / 346.8 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3767, allocations: 0 / 478.5 MB, free: 1.684 MB / 346.8 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.3767, allocations: 8 kB / 478.5 MB, free: 1.676 MB / 346.8 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.0006165/0.3773, allocations: 461 kB / 478.9 MB, free: 1.176 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3774, allocations: 12.03 kB / 478.9 MB, free: 1.164 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.3775, allocations: 20.73 kB / 478.9 MB, free: 1.145 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.3777, allocations: 243.8 kB / 479.2 MB, free: 0.8672 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.3778, allocations: 12.56 kB / 479.2 MB, free: 0.8555 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.3778, allocations: 12.38 kB / 479.2 MB, free: 0.8438 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.3781, allocations: 174.1 kB / 479.4 MB, free: 0.6523 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.3782, allocations: 0 / 479.4 MB, free: 0.6523 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.3782, allocations: 4 kB / 479.4 MB, free: 0.6484 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3782, allocations: 8 kB / 479.4 MB, free: 0.6406 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.3784, allocations: 63.95 kB / 479.4 MB, free: 0.5781 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.3793, allocations: 464.7 kB / 479.9 MB, free: 76 kB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.3795, allocations: 134.6 kB / 480 MB, free: 15.93 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.3797, allocations: 76.73 kB / 480.1 MB, free: 15.85 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.3797, allocations: 4 kB / 480.1 MB, free: 15.85 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003014/0.38, allocations: 139.3 kB / 480.2 MB, free: 15.7 MB / 362.8 MB Notification: Performance of pre-optimization done (n=20): time 3.266e-06/0.38, allocations: 4 kB / 480.3 MB, free: 15.7 MB / 362.8 MB Notification: Performance of matching and sorting (n=20): time 0.0005736/0.3806, allocations: 269.8 kB / 480.5 MB, free: 15.43 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3807, allocations: 158.2 kB / 480.7 MB, free: 15.23 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3809, allocations: 210.2 kB / 480.9 MB, free: 15.02 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.381, allocations: 37.7 kB / 480.9 MB, free: 14.97 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.3811, allocations: 116.5 kB / 481 MB, free: 14.86 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.3811, allocations: 67.09 kB / 481.1 MB, free: 14.79 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.3811, allocations: 4 kB / 481.1 MB, free: 14.79 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3813, allocations: 326.8 kB / 481.4 MB, free: 14.46 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3814, allocations: 52.25 kB / 481.5 MB, free: 14.41 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3816, allocations: 171.5 kB / 481.6 MB, free: 14.19 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.382, allocations: 230.8 kB / 481.9 MB, free: 13.92 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.382, allocations: 0 / 481.9 MB, free: 13.92 MB / 362.8 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004067/0.3824, allocations: 253.3 kB / 482.1 MB, free: 13.67 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3825, allocations: 7.984 kB / 482.1 MB, free: 13.66 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3825, allocations: 4 kB / 482.1 MB, free: 13.66 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3825, allocations: 4 kB / 482.1 MB, free: 13.65 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.3827, allocations: 47.92 kB / 482.2 MB, free: 13.61 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.3828, allocations: 11.92 kB / 482.2 MB, free: 13.59 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.3829, allocations: 31.83 kB / 482.2 MB, free: 13.56 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.3829, allocations: 8 kB / 482.2 MB, free: 13.55 MB / 362.8 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,$PRE.cplxP_dig_TU.y_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,$PRE.cplxP_dig_FE.y_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,$PRE.cplxP_dig_BE.y_pre1,cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cplxP_dig_BE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_FE.y,$PRE.cplxP_dig_TU.y,cplxP_dig_TU.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.3831, allocations: 160.2 kB / 482.4 MB, free: 13.39 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.3832, allocations: 19.8 kB / 482.4 MB, free: 13.37 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.3832, allocations: 21.88 kB / 482.4 MB, free: 13.35 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3833, allocations: 0 / 482.4 MB, free: 13.35 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3833, allocations: 0 / 482.4 MB, free: 13.35 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3833, allocations: 3.984 kB / 482.4 MB, free: 13.34 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.3839, allocations: 0.5374 MB / 483 MB, free: 12.75 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3839, allocations: 3.938 kB / 483 MB, free: 12.75 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.3841, allocations: 23.98 kB / 483 MB, free: 12.72 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3841, allocations: 0 / 483 MB, free: 12.72 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3841, allocations: 4 kB / 483 MB, free: 12.72 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3841, allocations: 0 / 483 MB, free: 12.72 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3841, allocations: 3.984 kB / 483 MB, free: 12.71 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.3847, allocations: 388.3 kB / 483.4 MB, free: 12.32 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.3848, allocations: 92.89 kB / 483.5 MB, free: 12.21 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.3848, allocations: 12 kB / 483.5 MB, free: 12.2 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3849, allocations: 7.984 kB / 483.5 MB, free: 12.19 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.385, allocations: 19.94 kB / 483.5 MB, free: 12.17 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.385, allocations: 15.98 kB / 483.5 MB, free: 12.16 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3851, allocations: 148.2 kB / 483.7 MB, free: 12.01 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3852, allocations: 0 / 483.7 MB, free: 12.01 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003813/0.3855, allocations: 55.94 kB / 483.7 MB, free: 11.96 MB / 362.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/0.3858, allocations: 143.4 kB / 483.9 MB, free: 11.81 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.3862, allocations: 171.9 kB / 484 MB, free: 11.64 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3862, allocations: 0 / 484 MB, free: 11.64 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.3863, allocations: 71.92 kB / 484.1 MB, free: 11.57 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.3868, allocations: 32.91 kB / 484.1 MB, free: 11.54 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/0.3876, allocations: 375.2 kB / 484.5 MB, free: 11.15 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.3881, allocations: 0.7248 MB / 485.2 MB, free: 10.39 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 9.774e-05/0.3882, allocations: 29.92 kB / 485.2 MB, free: 10.36 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.3882, allocations: 27.38 kB / 485.3 MB, free: 10.34 MB / 362.8 MB Notification: Performance of SimCode: time 2.2e-07/0.3882, allocations: 0 / 485.3 MB, free: 10.34 MB / 362.8 MB Notification: Performance of Templates: time 0.005279/0.3935, allocations: 2.149 MB / 487.4 MB, free: 8.195 MB / 362.8 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)