Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005861/0.005861, allocations: 170 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05727/0.05727, allocations: 10.74 MB / 26.59 MB, free: 2.23 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.438/1.438, allocations: 205.4 MB / 235.2 MB, free: 192 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008194/0.0008197, allocations: 86.7 kB / 285.9 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 12 kB / 346.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1161, allocations: 49.99 MB / 396.4 MB, free: 3.109 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.326/0.4422, allocations: 77.46 MB / 473.9 MB, free: 17.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.4424, allocations: 79.81 kB / 473.9 MB, free: 17.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00967/0.4521, allocations: 4.044 MB / 478 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4522, allocations: 0 / 478 MB, free: 15.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.4522, allocations: 4 kB / 478 MB, free: 15.4 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004745/0.4527, allocations: 443.9 kB / 478.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4527, allocations: 12.03 kB / 478.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.4528, allocations: 15.81 kB / 478.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.453, allocations: 222.7 kB / 478.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.453, allocations: 3.75 kB / 478.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.453, allocations: 11.5 kB / 478.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.4533, allocations: 136.7 kB / 478.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4533, allocations: 4 kB / 478.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.4533, allocations: 3.812 kB / 478.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4533, allocations: 3.984 kB / 478.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.4535, allocations: 60.84 kB / 478.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.4541, allocations: 411 kB / 479.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.4543, allocations: 117.1 kB / 479.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.4543, allocations: 0 / 479.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.4545, allocations: 121.1 kB / 479.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.15e-05/0.4546, allocations: 0 / 479.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003914/0.455, allocations: 207.4 kB / 479.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.455, allocations: 158.2 kB / 479.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4552, allocations: 186.5 kB / 480.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.4552, allocations: 28.83 kB / 480.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.4553, allocations: 121 kB / 480.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.4553, allocations: 46.56 kB / 480.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.4553, allocations: 0 / 480.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.4554, allocations: 329 kB / 480.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.4555, allocations: 31.48 kB / 480.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.4556, allocations: 120.1 kB / 480.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.144e-05/0.4557, allocations: 49.42 kB / 480.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4557, allocations: 0 / 480.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002333/0.4559, allocations: 173.2 kB / 480.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4559, allocations: 8.188 kB / 480.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.456, allocations: 4 kB / 480.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.456, allocations: 7.953 kB / 480.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.4561, allocations: 35.55 kB / 481 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4561, allocations: 4 kB / 481 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.4563, allocations: 19.58 kB / 481 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.4563, allocations: 4 kB / 481 MB, free: 12.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.ll_dig_BE.y,ll_dig_BE.y,$PRE.ll_dig_FE.y,ll_dig_FE.y,$PRE.ll_dig_TU.y,ll_dig_TU.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 8.899e-05/0.4564, allocations: 133 kB / 481.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.4564, allocations: 25.23 kB / 481.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.4565, allocations: 16.47 kB / 481.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4565, allocations: 7.891 kB / 481.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4565, allocations: 0 / 481.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4565, allocations: 0 / 481.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.4569, allocations: 471.1 kB / 481.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4569, allocations: 4 kB / 481.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4571, allocations: 19.98 kB / 481.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4571, allocations: 3.938 kB / 481.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.4571, allocations: 7.953 kB / 481.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4571, allocations: 0 / 481.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4571, allocations: 0 / 481.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.4575, allocations: 320.2 kB / 482 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.4575, allocations: 96.02 kB / 482.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.4576, allocations: 11.44 kB / 482.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.4577, allocations: 19.69 kB / 482.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.4578, allocations: 7.984 kB / 482.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.4578, allocations: 4 kB / 482.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.331e-05/0.4579, allocations: 143.1 kB / 482.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4579, allocations: 4.062 kB / 482.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.4582, allocations: 35.62 kB / 482.3 MB, free: 11.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001405/0.4583, allocations: 130.6 kB / 482.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.4586, allocations: 112.6 kB / 482.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4586, allocations: 384 / 482.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.4587, allocations: 64.22 kB / 482.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.459, allocations: 22.92 kB / 482.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.4597, allocations: 339.8 kB / 483 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.4598, allocations: 0.7206 MB / 483.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.78e-05/0.4599, allocations: 21.58 kB / 483.7 MB, free: 9.832 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.4599, allocations: 15.44 kB / 483.7 MB, free: 9.82 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4599, allocations: 4 kB / 483.7 MB, free: 9.816 MB / 346.7 MB Notification: Performance of Templates: time 0.003944/0.4639, allocations: 1.667 MB / 485.4 MB, free: 8.184 MB / 346.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1)