Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.01107/0.01107, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.81/1.81, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05431/0.05431, 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.0005867/0.0005869, allocations: 16.73 kB / 342.2 MB, free: 23.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1288, allocations: 50 MB / 392.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.00254/0.1314, allocations: 1.549 MB / 393.8 MB, free: 3.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1329, allocations: 0.6111 MB / 394.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.1331, allocations: 7.938 kB / 394.4 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.228e-05/0.1332, allocations: 7.875 kB / 394.4 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1334, allocations: 19.8 kB / 394.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007474/0.1341, allocations: 143.7 kB / 394.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.1345, allocations: 195.4 kB / 394.8 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1348, allocations: 44.66 kB / 394.8 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1349, allocations: 75.52 kB / 394.9 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1351, allocations: 95.41 kB / 395 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.1352, allocations: 11.94 kB / 395 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.1355, allocations: 147.9 kB / 395.1 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.1356, allocations: 43.75 kB / 395.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1357, allocations: 121 kB / 395.3 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.1362, allocations: 283.1 kB / 395.6 MB, free: 2.074 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1362, allocations: 0 / 395.6 MB, free: 2.074 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1362, allocations: 0 / 395.6 MB, free: 2.074 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1362, allocations: 0 / 395.6 MB, free: 2.074 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009761/0.1372, allocations: 0.5218 MB / 396.1 MB, free: 1.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1373, allocations: 8.031 kB / 396.1 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.103e-05/0.1374, allocations: 24.66 kB / 396.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.1377, allocations: 271.6 kB / 396.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.1377, allocations: 8.375 kB / 396.4 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.1378, allocations: 28.27 kB / 396.4 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.1381, allocations: 171 kB / 396.6 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1382, allocations: 192 / 396.6 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.1382, allocations: 15.92 kB / 396.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1382, allocations: 0 / 396.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.1384, allocations: 75.91 kB / 396.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.1394, allocations: 0.5276 MB / 397.2 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.1397, allocations: 134.6 kB / 397.3 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1399, allocations: 72.86 kB / 397.4 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1399, allocations: 4 kB / 397.4 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000366/0.1403, allocations: 143.2 kB / 397.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.1403, allocations: 0 / 397.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005851/0.1409, allocations: 273.3 kB / 397.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.141, allocations: 162.2 kB / 398 MB, free: 15.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.1413, allocations: 262.7 kB / 398.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.1413, allocations: 37.69 kB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1414, allocations: 156.3 kB / 398.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.1415, allocations: 59.2 kB / 398.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.1415, allocations: 29.7 kB / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1417, allocations: 342.8 kB / 398.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1418, allocations: 56.25 kB / 398.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.142, allocations: 185.6 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.1424, allocations: 253.4 kB / 399.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1424, allocations: 0 / 399.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004271/0.1429, allocations: 276.9 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1429, allocations: 4 kB / 399.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1429, allocations: 4.469 kB / 399.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1429, allocations: 4 kB / 399.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.1432, allocations: 71.78 kB / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.1432, allocations: 8 kB / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.1434, allocations: 31.77 kB / 399.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1434, allocations: 8 kB / 399.7 MB, free: 13.53 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002061/0.1437, allocations: 149.5 kB / 399.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.1437, allocations: 31.66 kB / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.931e-05/0.1438, allocations: 34.17 kB / 399.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1438, allocations: 0 / 399.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1438, allocations: 0 / 399.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1438, allocations: 11.86 kB / 400 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000709/0.1445, allocations: 0.5486 MB / 400.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1445, allocations: 4 kB / 400.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.1448, allocations: 35.92 kB / 400.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1448, allocations: 0 / 400.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.1448, allocations: 15.92 kB / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1448, allocations: 0 / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1448, allocations: 4 kB / 400.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.1454, allocations: 391 kB / 400.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.1455, allocations: 104.8 kB / 401 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.1456, allocations: 12 kB / 401.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.1457, allocations: 7.984 kB / 401.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.1458, allocations: 15.98 kB / 401.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.1458, allocations: 8.109 kB / 401.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.146, allocations: 182 kB / 401.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.146, allocations: 0 / 401.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000368/0.1464, allocations: 83.98 kB / 401.3 MB, free: 11.81 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002577/0.1466, allocations: 159.1 kB / 401.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.147, allocations: 172.6 kB / 401.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.147, allocations: 4.062 kB / 401.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1472, allocations: 79.34 kB / 401.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.1476, allocations: 55.38 kB / 401.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1488, allocations: 0.5874 MB / 402.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1492, allocations: 0.752 MB / 403.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1493, allocations: 30.28 kB / 403.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.1494, allocations: 27.44 kB / 403.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1494, allocations: 0 / 403.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of Templates: time 0.006756/0.1561, allocations: 2.871 MB / 406.1 MB, free: 7.031 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) Environment - environmentSimulation: