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 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.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.007626/0.007626, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001331/0.001331, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.665/1.665, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06201/0.06201, allocations: 10.74 MB / 280.6 MB, free: 10.42 MB / 238.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.001437/0.001437, allocations: 60.38 kB / 390.8 MB, free: 5.043 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4367, allocations: 49.02 MB / 439.8 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003464/0.4403, allocations: 1.639 MB / 441.5 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000829/0.4411, allocations: 306.7 kB / 441.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.4412, allocations: 1.375 kB / 441.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.4413, allocations: 12.52 kB / 441.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.4414, allocations: 25.75 kB / 441.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.4419, allocations: 95.75 kB / 441.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.4422, allocations: 124.5 kB / 442 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.4423, allocations: 24.3 kB / 442.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.4424, allocations: 59.33 kB / 442.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.4426, allocations: 66.7 kB / 442.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.4426, allocations: 11.38 kB / 442.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.4428, allocations: 40.75 kB / 442.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.4429, allocations: 31.92 kB / 442.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.684e-05/0.443, allocations: 60.75 kB / 442.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.4433, allocations: 138.8 kB / 442.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4433, allocations: 0 / 442.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4433, allocations: 1.375 kB / 442.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.4433, allocations: 4 kB / 442.5 MB, free: 3.621 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007802/0.4441, allocations: 457.8 kB / 442.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4442, allocations: 13.39 kB / 442.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.4442, allocations: 18.3 kB / 442.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.4445, allocations: 225.8 kB / 443.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.4445, allocations: 7.5 kB / 443.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.4446, allocations: 10.98 kB / 443.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.4449, allocations: 140.1 kB / 443.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4449, allocations: 4.125 kB / 443.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.4449, allocations: 9.969 kB / 443.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.445, allocations: 1.25 kB / 443.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.4451, allocations: 53.27 kB / 443.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.4459, allocations: 415.9 kB / 443.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.4462, allocations: 109.7 kB / 443.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.4463, allocations: 58.31 kB / 444 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.4464, allocations: 1.781 kB / 444 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.4467, allocations: 116.1 kB / 444.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.4467, allocations: 0.5625 kB / 444.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.00055/0.4472, allocations: 197.7 kB / 444.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.4473, allocations: 158 kB / 444.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.4476, allocations: 190.2 kB / 444.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.4477, allocations: 28.52 kB / 444.6 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.4478, allocations: 123.6 kB / 444.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.4478, allocations: 44.55 kB / 444.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.4479, allocations: 39.67 kB / 444.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.448, allocations: 332.7 kB / 445.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4481, allocations: 37.47 kB / 445.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.4483, allocations: 115.1 kB / 445.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.4485, allocations: 132.1 kB / 445.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4485, allocations: 1.25 kB / 445.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003166/0.4489, allocations: 170.4 kB / 445.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4489, allocations: 6.234 kB / 445.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4489, allocations: 2.094 kB / 445.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.449, allocations: 7.172 kB / 445.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.4491, allocations: 35.62 kB / 445.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.4491, allocations: 7.438 kB / 445.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.4493, allocations: 22.47 kB / 445.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4493, allocations: 5.969 kB / 445.7 MB, free: 1.066 MB / 318.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.000106/0.4494, allocations: 123.5 kB / 445.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.4495, allocations: 16.19 kB / 445.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.4495, allocations: 24.61 kB / 445.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4495, allocations: 5.281 kB / 445.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4496, allocations: 0 / 445.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4496, allocations: 5.891 kB / 445.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.4502, allocations: 458.6 kB / 446.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.4502, allocations: 7.938 kB / 446.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.4503, allocations: 22.22 kB / 446.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4503, allocations: 4.547 kB / 446.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.4503, allocations: 3.656 kB / 446.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.4503, allocations: 10.02 kB / 446.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4504, allocations: 0 / 446.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.4509, allocations: 312 kB / 446.7 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.451, allocations: 99.25 kB / 446.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.4511, allocations: 3.297 kB / 446.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.4512, allocations: 12.66 kB / 446.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.4513, allocations: 10.67 kB / 446.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.4513, allocations: 6.469 kB / 446.8 MB, free: 216 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.4514, allocations: 144.2 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.242e-06/0.4514, allocations: 0 / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.4518, allocations: 41.16 kB / 447 MB, free: 104 kB / 318.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.0001609/0.4519, allocations: 116.6 kB / 447.1 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.4523, allocations: 114.8 kB / 447.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4523, allocations: 1 kB / 447.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.4524, allocations: 53.83 kB / 447.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.4528, allocations: 39.58 kB / 447.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007899/0.4536, allocations: 307.6 kB / 447.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.4539, allocations: 0.7234 MB / 448.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.195e-05/0.454, allocations: 22.52 kB / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.4541, allocations: 17.72 kB / 448.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4541, allocations: 5.125 kB / 448.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Templates: time 0.006424/0.4605, allocations: 1.887 MB / 450.3 MB, free: 14.33 MB / 334.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)