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.001177/0.001177, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00119/0.00119, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05582/0.05582, allocations: 10.74 MB / 281.1 MB, free: 10.54 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.0007214/0.0007215, allocations: 14.97 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1358, allocations: 50.01 MB / 391.6 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002418/0.1382, allocations: 1.312 MB / 392.9 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007289/0.139, allocations: 303.2 kB / 393.2 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.1391, allocations: 0 / 393.2 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.1391, allocations: 3.938 kB / 393.2 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.1393, allocations: 11.86 kB / 393.3 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.1397, allocations: 75.86 kB / 393.3 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.1399, allocations: 111.7 kB / 393.4 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1401, allocations: 17.55 kB / 393.5 MB, free: 3.926 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.1402, allocations: 47.72 kB / 393.5 MB, free: 3.879 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1403, allocations: 63.67 kB / 393.6 MB, free: 3.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1403, allocations: 7.938 kB / 393.6 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1404, allocations: 35.97 kB / 393.6 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.1405, allocations: 23.86 kB / 393.6 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.1406, allocations: 41.64 kB / 393.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1408, allocations: 103.7 kB / 393.8 MB, free: 3.602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.1408, allocations: 4 kB / 393.8 MB, free: 3.598 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1408, allocations: 0 / 393.8 MB, free: 3.598 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1408, allocations: 0 / 393.8 MB, free: 3.598 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.0006985/0.1416, allocations: 426.6 kB / 394.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1416, allocations: 8.031 kB / 394.2 MB, free: 3.129 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.1417, allocations: 19.77 kB / 394.2 MB, free: 3.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.142, allocations: 226.7 kB / 394.4 MB, free: 2.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.142, allocations: 11.98 kB / 394.5 MB, free: 2.836 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.142, allocations: 8 kB / 394.5 MB, free: 2.828 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.1424, allocations: 133.9 kB / 394.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1424, allocations: 0 / 394.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.1424, allocations: 3.984 kB / 394.6 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1424, allocations: 4 kB / 394.6 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.1426, allocations: 59.97 kB / 394.7 MB, free: 2.609 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008451/0.1435, allocations: 412.5 kB / 395.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1438, allocations: 114.6 kB / 395.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.144, allocations: 60.84 kB / 395.2 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.144, allocations: 4 kB / 395.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.1443, allocations: 119.2 kB / 395.4 MB, free: 1.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 5.61e-06/0.1443, allocations: 0 / 395.4 MB, free: 1.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005908/0.1449, allocations: 205.4 kB / 395.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.145, allocations: 162.2 kB / 395.7 MB, free: 1.438 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1453, allocations: 194.1 kB / 395.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.1453, allocations: 33.7 kB / 395.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1454, allocations: 124 kB / 396.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.1455, allocations: 39.53 kB / 396.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.1455, allocations: 8 kB / 396.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1456, allocations: 326.8 kB / 396.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1458, allocations: 36.34 kB / 396.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.146, allocations: 118.1 kB / 396.6 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1461, allocations: 48 kB / 396.6 MB, free: 476 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1461, allocations: 0 / 396.6 MB, free: 476 kB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000358/0.1465, allocations: 180.9 kB / 396.8 MB, free: 292 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1465, allocations: 8 kB / 396.8 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.1465, allocations: 12.12 kB / 396.8 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.1466, allocations: 4 kB / 396.8 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.1468, allocations: 31.98 kB / 396.9 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1468, allocations: 7.938 kB / 396.9 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.147, allocations: 11.94 kB / 396.9 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.147, allocations: 11.98 kB / 396.9 MB, free: 204 kB / 286.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,$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 0.0001371/0.1472, allocations: 132.5 kB / 397 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1472, allocations: 19.81 kB / 397 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.1473, allocations: 17.53 kB / 397 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1473, allocations: 3.953 kB / 397.1 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1473, allocations: 3.984 kB / 397.1 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1473, allocations: 0 / 397.1 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007138/0.1481, allocations: 474.3 kB / 397.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1481, allocations: 4 kB / 397.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.1483, allocations: 19.98 kB / 397.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1483, allocations: 3.953 kB / 397.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.1483, allocations: 8 kB / 397.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1483, allocations: 0 / 397.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1483, allocations: 0 / 397.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.149, allocations: 319.2 kB / 397.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.1491, allocations: 92.94 kB / 398 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.1491, allocations: 11.95 kB / 398 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.1494, allocations: 11.98 kB / 398 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.1494, allocations: 11.94 kB / 398 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1494, allocations: 7.984 kB / 398 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1496, allocations: 140.3 kB / 398.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1496, allocations: 4.062 kB / 398.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004496/0.1501, allocations: 36 kB / 398.2 MB, free: 14.81 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 (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.0001822/0.1503, allocations: 111.2 kB / 398.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.1506, allocations: 115.9 kB / 398.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1506, allocations: 384 / 398.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.1508, allocations: 63.91 kB / 398.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.1513, allocations: 32.09 kB / 398.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1523, allocations: 344 kB / 398.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1527, allocations: 0.7128 MB / 399.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.1528, allocations: 21.53 kB / 399.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.1529, allocations: 19.44 kB / 399.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1529, allocations: 0 / 399.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Templates: time 0.006293/0.1592, allocations: 1.671 MB / 401.3 MB, free: 11.67 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: