Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001626/0.001626, allocations: 192.9 kB / 16.14 MB, free: 6.652 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.517/1.517, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05658/0.05658, allocations: 10.73 MB / 280.1 MB, free: 10.7 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.001271/0.001271, allocations: 63.91 kB / 339.8 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1141, allocations: 49.03 MB / 388.9 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003756/0.1179, allocations: 1.931 MB / 390.8 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1193, allocations: 0.7145 MB / 391.5 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1195, allocations: 11.88 kB / 391.5 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.1197, allocations: 19.86 kB / 391.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.1198, allocations: 39.66 kB / 391.6 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1202, allocations: 111.9 kB / 391.7 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1205, allocations: 271.2 kB / 392 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.1207, allocations: 64.94 kB / 392 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1209, allocations: 115.4 kB / 392.1 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1211, allocations: 111.4 kB / 392.2 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.842e-05/0.1212, allocations: 15.94 kB / 392.3 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.841e-05/0.1212, allocations: 12 kB / 392.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.1213, allocations: 43.81 kB / 392.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1214, allocations: 107.3 kB / 392.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.1217, allocations: 207.4 kB / 392.6 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1217, allocations: 0 / 392.6 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1217, allocations: 0 / 392.6 MB, free: 2.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1217, allocations: 0 / 392.6 MB, free: 2.93 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001318/0.123, allocations: 0.6128 MB / 393.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.1231, allocations: 8.031 kB / 393.2 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.251e-05/0.1232, allocations: 36.56 kB / 393.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.1236, allocations: 294.5 kB / 393.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-05/0.1237, allocations: 105.3 kB / 393.7 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.1238, allocations: 15.94 kB / 393.7 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.1243, allocations: 215.7 kB / 393.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1243, allocations: 0 / 393.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.1244, allocations: 4 kB / 393.9 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1244, allocations: 4 kB / 393.9 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.1249, allocations: 164.4 kB / 394.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1264, allocations: 0.7185 MB / 394.8 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.127, allocations: 170.4 kB / 395 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.1273, allocations: 96.78 kB / 395 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.1273, allocations: 4.25 kB / 395.1 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005546/0.1279, allocations: 163.2 kB / 395.2 MB, free: 156 kB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1279, allocations: 0 / 395.2 MB, free: 156 kB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001006/0.1289, allocations: 337 kB / 395.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1289, allocations: 55.41 kB / 395.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1292, allocations: 228.9 kB / 395.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.1292, allocations: 29.7 kB / 395.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1293, allocations: 156.3 kB / 396 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.1294, allocations: 51.3 kB / 396 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.1295, allocations: 45.69 kB / 396.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1297, allocations: 338.8 kB / 396.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.13, allocations: 91.92 kB / 396.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.1303, allocations: 131.2 kB / 396.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.1309, allocations: 229 kB / 396.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1309, allocations: 0 / 396.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007314/0.1316, allocations: 314.7 kB / 397.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.1317, allocations: 37.78 kB / 397.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1317, allocations: 4 kB / 397.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1317, allocations: 3.938 kB / 397.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.1331, allocations: 119.9 kB / 397.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.1357, allocations: 2.697 MB / 400 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.136, allocations: 35.81 kB / 400.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.136, allocations: 8 kB / 400.1 MB, free: 10.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.1362, allocations: 129.8 kB / 400.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.1362, allocations: 27.73 kB / 400.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.1369, allocations: 271.7 kB / 400.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1369, allocations: 7.984 kB / 400.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.1369, allocations: 0 / 400.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1369, allocations: 4 kB / 400.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1382, allocations: 0.658 MB / 401.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1382, allocations: 0 / 401.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.1394, allocations: 103.9 kB / 401.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.1394, allocations: 4 kB / 401.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.1395, allocations: 0 / 401.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1395, allocations: 0 / 401.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1395, allocations: 0 / 401.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009285/0.1404, allocations: 474 kB / 401.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.1405, allocations: 92.83 kB / 401.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.1405, allocations: 4 kB / 401.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.1407, allocations: 32 kB / 401.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.1408, allocations: 23.97 kB / 401.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1409, allocations: 4 kB / 401.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.141, allocations: 160.5 kB / 402 MB, free: 8.844 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.141, allocations: 4 kB / 402 MB, free: 8.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1413, allocations: 43.84 kB / 402.1 MB, free: 8.797 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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.000116/0.1415, allocations: 103.2 kB / 402.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.1425, allocations: 307 kB / 402.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1425, allocations: 4 kB / 402.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.1428, allocations: 112 kB / 402.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1432, allocations: 24.44 kB / 402.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1445, allocations: 0.5211 MB / 403.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1449, allocations: 0.7482 MB / 403.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.145, allocations: 21.95 kB / 403.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.1451, allocations: 23.42 kB / 403.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1451, allocations: 0 / 403.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of Templates: time 0.006377/0.1515, allocations: 2.288 MB / 406.2 MB, free: 4.586 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)