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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001933/0.001933, allocations: 184 kB / 7.453 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08441/0.08441, allocations: 10.58 MB / 18.46 MB, free: 3.91 MB / 16.05 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.2 MB / 226.5 MB, free: 6.699 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 95.83 kB / 276.9 MB, free: 6.246 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.574e-06, allocations: 0 / 332.9 MB, free: 14.13 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3446, allocations: 50 MB / 382.9 MB, free: 30.5 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.4568, allocations: 76.64 MB / 459.6 MB, free: 1.738 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4571, allocations: 71.95 kB / 459.6 MB, free: 1.668 MB / 338.8 MB Notification: Performance of FrontEnd: time 0.01097/0.4681, allocations: 3.684 MB / 463.3 MB, free: 13.97 MB / 354.8 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.4681, allocations: 0 / 463.3 MB, free: 13.97 MB / 354.8 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.0005817/0.4687, allocations: 418 kB / 463.7 MB, free: 13.52 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4688, allocations: 8.031 kB / 463.7 MB, free: 13.51 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.4689, allocations: 23.72 kB / 463.8 MB, free: 13.49 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.4692, allocations: 226.7 kB / 464 MB, free: 13.23 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.4692, allocations: 4 kB / 464 MB, free: 13.22 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.4693, allocations: 7.984 kB / 464 MB, free: 13.21 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001352/0.4694, allocations: 40 kB / 464 MB, free: 13.18 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.4696, allocations: 124.5 kB / 464.2 MB, free: 13.04 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4697, allocations: 0 / 464.2 MB, free: 13.04 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.4697, allocations: 0 / 464.2 MB, free: 13.04 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.4697, allocations: 4 kB / 464.2 MB, free: 13.03 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.4704, allocations: 369.1 kB / 464.5 MB, free: 12.63 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.4706, allocations: 114.4 kB / 464.6 MB, free: 12.51 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4707, allocations: 48.86 kB / 464.7 MB, free: 12.46 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.4708, allocations: 4 kB / 464.7 MB, free: 12.46 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.4709, allocations: 91.38 kB / 464.8 MB, free: 12.36 MB / 354.8 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.4709, allocations: 0 / 464.8 MB, free: 12.36 MB / 354.8 MB Notification: Performance of matching and sorting (n=14): time 0.0005829/0.4715, allocations: 169.4 kB / 464.9 MB, free: 12.18 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.4716, allocations: 158.2 kB / 465.1 MB, free: 11.99 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4718, allocations: 165.3 kB / 465.3 MB, free: 11.82 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.4719, allocations: 33.7 kB / 465.3 MB, free: 11.79 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.472, allocations: 104 kB / 465.4 MB, free: 11.68 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.472, allocations: 39.45 kB / 465.4 MB, free: 11.64 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.472, allocations: 3.938 kB / 465.4 MB, free: 11.64 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.4722, allocations: 326.8 kB / 465.8 MB, free: 11.31 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.4723, allocations: 24.38 kB / 465.8 MB, free: 11.28 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.4724, allocations: 102 kB / 465.9 MB, free: 11.15 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/0.4725, allocations: 41.27 kB / 465.9 MB, free: 11.11 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4725, allocations: 3.938 kB / 465.9 MB, free: 11.11 MB / 354.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002758/0.4728, allocations: 133.3 kB / 466 MB, free: 10.97 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.4728, allocations: 9.719 kB / 466.1 MB, free: 10.96 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4729, allocations: 0 / 466.1 MB, free: 10.96 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.4729, allocations: 4 kB / 466.1 MB, free: 10.96 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.4731, allocations: 36.11 kB / 466.1 MB, free: 10.92 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4731, allocations: 7.984 kB / 466.1 MB, free: 10.91 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.4733, allocations: 19.83 kB / 466.1 MB, free: 10.89 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.4733, allocations: 8 kB / 466.1 MB, free: 10.89 MB / 354.8 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 () * 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 0.0001684/0.4735, allocations: 108.9 kB / 466.2 MB, free: 10.77 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.4735, allocations: 19.8 kB / 466.3 MB, free: 10.75 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.4736, allocations: 21.47 kB / 466.3 MB, free: 10.73 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.4736, allocations: 8.125 kB / 466.3 MB, free: 10.73 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4736, allocations: 0 / 466.3 MB, free: 10.73 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4736, allocations: 3.938 kB / 466.3 MB, free: 10.72 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.4743, allocations: 452.6 kB / 466.7 MB, free: 10.24 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4743, allocations: 0 / 466.7 MB, free: 10.24 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.4744, allocations: 19.98 kB / 466.8 MB, free: 10.22 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.4744, allocations: 4 kB / 466.8 MB, free: 10.21 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.4745, allocations: 4 kB / 466.8 MB, free: 10.21 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4745, allocations: 0 / 466.8 MB, free: 10.21 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.4745, allocations: 3.938 kB / 466.8 MB, free: 10.21 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005484/0.475, allocations: 323.1 kB / 467.1 MB, free: 9.875 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.4751, allocations: 92.92 kB / 467.2 MB, free: 9.766 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.4752, allocations: 4 kB / 467.2 MB, free: 9.762 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.4753, allocations: 12.05 kB / 467.2 MB, free: 9.75 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.4754, allocations: 11.98 kB / 467.2 MB, free: 9.738 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4754, allocations: 4 kB / 467.2 MB, free: 9.734 MB / 354.8 MB Notification: Performance of sort global known variables: time 0.0001213/0.4756, allocations: 128.5 kB / 467.3 MB, free: 9.609 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.0003003/0.4759, allocations: 40.05 kB / 467.4 MB, free: 9.57 MB / 354.8 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) * 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.000204/0.4761, allocations: 120.9 kB / 467.5 MB, free: 9.441 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.4763, allocations: 92.25 kB / 467.6 MB, free: 9.352 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4763, allocations: 8 kB / 467.6 MB, free: 9.344 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.4764, allocations: 47.98 kB / 467.6 MB, free: 9.297 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.4767, allocations: 31.34 kB / 467.7 MB, free: 9.27 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.4774, allocations: 222.4 kB / 467.9 MB, free: 9.031 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/0.4779, allocations: 0.7393 MB / 468.6 MB, free: 8.266 MB / 354.8 MB Notification: Performance of SimCode: time 2.91e-07/0.4779, allocations: 0 / 468.6 MB, free: 8.266 MB / 354.8 MB Notification: Performance of Templates: time 0.005072/0.483, allocations: 1.666 MB / 470.3 MB, free: 6.617 MB / 354.8 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)