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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001325, allocations: 107.4 kB / 16.27 MB, free: 5.984 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.001483/0.001483, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1773/0.1773, allocations: 11.18 MB / 302.2 MB, free: 1.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 63.89 kB / 365.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1058, allocations: 51.98 MB / 417.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003461/0.1093, allocations: 1.624 MB / 418.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008018/0.1101, allocations: 322.9 kB / 419.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1102, allocations: 4 kB / 419.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.051e-05/0.1103, allocations: 7.875 kB / 419.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1104, allocations: 19.73 kB / 419.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.1109, allocations: 91.77 kB / 419.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1112, allocations: 127.6 kB / 419.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1113, allocations: 29.53 kB / 419.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.1114, allocations: 47.8 kB / 419.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1115, allocations: 67.61 kB / 419.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.1116, allocations: 12 kB / 419.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1117, allocations: 43.97 kB / 419.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.1117, allocations: 35.78 kB / 419.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.551e-05/0.1118, allocations: 55.66 kB / 419.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1121, allocations: 143.5 kB / 419.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1121, allocations: 0 / 419.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1121, allocations: 0 / 419.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1121, allocations: 0 / 419.9 MB, free: 4.086 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007853/0.1129, allocations: 455 kB / 420.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.113, allocations: 11.89 kB / 420.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.1131, allocations: 16.75 kB / 420.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1134, allocations: 228 kB / 420.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.1134, allocations: 8.375 kB / 420.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.1134, allocations: 8.375 kB / 420.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.1137, allocations: 134.4 kB / 420.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1137, allocations: 192 / 420.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.1138, allocations: 7.938 kB / 420.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1138, allocations: 7.938 kB / 420.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.114, allocations: 59.33 kB / 420.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.1147, allocations: 412.4 kB / 421.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.115, allocations: 114.6 kB / 421.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1151, allocations: 60.77 kB / 421.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1151, allocations: 4 kB / 421.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.1154, allocations: 111.2 kB / 421.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.1154, allocations: 4 kB / 421.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000501/0.1159, allocations: 196.9 kB / 421.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.1161, allocations: 166.1 kB / 421.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1163, allocations: 194.3 kB / 422 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1163, allocations: 29.7 kB / 422 MB, free: 1.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1164, allocations: 120 kB / 422.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.1165, allocations: 35.59 kB / 422.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.1166, allocations: 45.61 kB / 422.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1167, allocations: 330.8 kB / 422.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.1168, allocations: 39.98 kB / 422.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.117, allocations: 109.4 kB / 422.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.1172, allocations: 137.8 kB / 422.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1173, allocations: 3.938 kB / 422.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003079/0.1176, allocations: 165.3 kB / 423 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1176, allocations: 8 kB / 423 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1176, allocations: 4 kB / 423 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1176, allocations: 4 kB / 423 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1178, allocations: 35.86 kB / 423 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1178, allocations: 0 / 423 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.118, allocations: 19.92 kB / 423.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.118, allocations: 8 kB / 423.1 MB, free: 0.543 MB / 350.1 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,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.1181, allocations: 130 kB / 423.2 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.1182, allocations: 15.81 kB / 423.2 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.1182, allocations: 21.52 kB / 423.2 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1183, allocations: 7.938 kB / 423.2 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1183, allocations: 0 / 423.2 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1183, allocations: 0 / 423.2 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1622/0.2805, allocations: 464.5 kB / 423.7 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2805, allocations: 3.844 kB / 423.7 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.2806, allocations: 20.55 kB / 423.7 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.2807, allocations: 3.75 kB / 423.7 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.2807, allocations: 4.938 kB / 423.7 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2807, allocations: 0 / 423.7 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2807, allocations: 0 / 423.7 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.2811, allocations: 312.2 kB / 424 MB, free: 41.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.2812, allocations: 94.38 kB / 424.1 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.2813, allocations: 10.78 kB / 424.1 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.2815, allocations: 8.906 kB / 424.1 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.2815, allocations: 15.8 kB / 424.2 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2815, allocations: 5.688 kB / 424.2 MB, free: 41.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.2816, allocations: 141.1 kB / 424.3 MB, free: 41.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2817, allocations: 0 / 424.3 MB, free: 41.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.2821, allocations: 30.2 kB / 424.3 MB, free: 41.2 MB / 350.1 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 (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.000147/0.2822, allocations: 118.2 kB / 424.5 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.2826, allocations: 123.3 kB / 424.6 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2826, allocations: 0.9688 kB / 424.6 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.2827, allocations: 59.02 kB / 424.6 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.283, allocations: 40.17 kB / 424.7 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.2838, allocations: 336.2 kB / 425 MB, free: 40.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2839, allocations: 0.716 MB / 425.7 MB, free: 40.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.284, allocations: 20.16 kB / 425.7 MB, free: 40.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.284, allocations: 0 / 425.7 MB, free: 40.23 MB / 350.1 MB Notification: Performance of Templates: time 0.003987/0.288, allocations: 1.99 MB / 427.7 MB, free: 40.18 MB / 350.1 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)