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.001094/0.001094, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009342/0.009342, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.852/1.852, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05408/0.05408, allocations: 10.74 MB / 281.5 MB, free: 10.45 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.0005081/0.0005081, allocations: 12.64 kB / 342.2 MB, free: 23.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1116, allocations: 50.01 MB / 392.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.00247/0.1142, allocations: 1.347 MB / 393.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008014/0.115, allocations: 311 kB / 393.9 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.1151, allocations: 3.938 kB / 393.9 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.1151, allocations: 7.922 kB / 393.9 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.1152, allocations: 7.875 kB / 393.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1156, allocations: 83.86 kB / 394 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1158, allocations: 119.7 kB / 394.1 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.116, allocations: 21.56 kB / 394.1 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/0.116, allocations: 55.64 kB / 394.2 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.2e-05/0.1161, allocations: 55.69 kB / 394.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1162, allocations: 8 kB / 394.2 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.998e-05/0.1163, allocations: 39.91 kB / 394.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.1163, allocations: 19.86 kB / 394.3 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1164, allocations: 85.34 kB / 394.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1166, allocations: 131.5 kB / 394.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1167, allocations: 4 kB / 394.5 MB, free: 3.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.549e-06/0.1167, allocations: 0 / 394.5 MB, free: 3.125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1167, allocations: 3.938 kB / 394.5 MB, free: 3.121 MB / 286.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.0007109/0.1174, allocations: 426.6 kB / 394.9 MB, free: 2.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.1175, allocations: 12.03 kB / 394.9 MB, free: 2.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.1175, allocations: 20.69 kB / 395 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1178, allocations: 227.9 kB / 395.2 MB, free: 2.363 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1178, allocations: 12.38 kB / 395.2 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.1179, allocations: 4.375 kB / 395.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.1181, allocations: 142.4 kB / 395.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1181, allocations: 192 / 395.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.1182, allocations: 3.938 kB / 395.4 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.1182, allocations: 3.984 kB / 395.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1183, allocations: 63.97 kB / 395.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.1191, allocations: 412.5 kB / 395.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1193, allocations: 118.6 kB / 395.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1195, allocations: 64.78 kB / 396 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1195, allocations: 0 / 396 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.1198, allocations: 115.3 kB / 396.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.1198, allocations: 0 / 396.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004875/0.1203, allocations: 201.5 kB / 396.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.1204, allocations: 170.1 kB / 396.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1206, allocations: 190.1 kB / 396.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.1207, allocations: 33.7 kB / 396.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1208, allocations: 119.9 kB / 396.8 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.1208, allocations: 43.52 kB / 396.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.1209, allocations: 25.7 kB / 396.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.121, allocations: 330.8 kB / 397.2 MB, free: 184 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.1211, allocations: 35.98 kB / 397.2 MB, free: 148 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1213, allocations: 121.3 kB / 397.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.1215, allocations: 141.6 kB / 397.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1215, allocations: 0 / 397.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002724/0.1218, allocations: 169.4 kB / 397.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1218, allocations: 8 kB / 397.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1218, allocations: 0 / 397.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1218, allocations: 4 kB / 397.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.122, allocations: 35.92 kB / 397.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.122, allocations: 7.938 kB / 397.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1222, allocations: 19.83 kB / 397.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1222, allocations: 12.16 kB / 397.7 MB, free: 15.58 MB / 302.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.0001082/0.1223, allocations: 132.8 kB / 397.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1223, allocations: 15.81 kB / 397.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.1224, allocations: 21.52 kB / 397.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1224, allocations: 0 / 397.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1224, allocations: 3.938 kB / 397.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1224, allocations: 0 / 397.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.1229, allocations: 470.4 kB / 398.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1229, allocations: 0 / 398.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.123, allocations: 19.94 kB / 398.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1231, allocations: 3.938 kB / 398.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1231, allocations: 11.98 kB / 398.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1231, allocations: 0 / 398.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1231, allocations: 0 / 398.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.1236, allocations: 319.3 kB / 398.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.1236, allocations: 88.95 kB / 398.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1237, allocations: 7.938 kB / 398.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.1238, allocations: 11.98 kB / 398.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1239, allocations: 19.98 kB / 398.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1239, allocations: 4 kB / 398.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.124, allocations: 140.3 kB / 399 MB, free: 14.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.124, allocations: 7.938 kB / 399 MB, free: 14.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1243, allocations: 36 kB / 399 MB, free: 14.2 MB / 302.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.0001433/0.1244, allocations: 111.2 kB / 399.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.1247, allocations: 120.7 kB / 399.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1247, allocations: 3.938 kB / 399.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.1248, allocations: 55.98 kB / 399.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1252, allocations: 39.83 kB / 399.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.126, allocations: 356.6 kB / 399.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1263, allocations: 0.7205 MB / 400.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.387e-05/0.1264, allocations: 21.58 kB / 400.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.1265, allocations: 19.44 kB / 400.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1265, allocations: 4 kB / 400.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Templates: time 0.004643/0.1311, allocations: 1.733 MB / 402.2 MB, free: 10.96 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: