Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.001829, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001977/0.001977, allocations: 193.1 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.1831/0.1831, allocations: 11.16 MB / 301.1 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.88 kB / 363.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1311, allocations: 51.98 MB / 415.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003518/0.1347, allocations: 1.786 MB / 417.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1358, allocations: 0.5494 MB / 418.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1359, allocations: 4 kB / 418.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.136, allocations: 11.86 kB / 418.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.1361, allocations: 27.8 kB / 418.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1364, allocations: 55.88 kB / 418.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1366, allocations: 171.4 kB / 418.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1367, allocations: 33.55 kB / 418.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1368, allocations: 67.69 kB / 418.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.1369, allocations: 63.69 kB / 418.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.137, allocations: 8 kB / 418.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.287e-05/0.137, allocations: 4 kB / 418.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.1371, allocations: 27.84 kB / 418.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.1372, allocations: 63.59 kB / 418.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1373, allocations: 139.8 kB / 418.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1373, allocations: 0 / 418.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1374, allocations: 0 / 418.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1374, allocations: 0 / 418.9 MB, free: 4.285 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009509/0.1383, allocations: 0.5042 MB / 419.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1384, allocations: 12.03 kB / 419.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.1384, allocations: 20.75 kB / 419.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.1387, allocations: 240.4 kB / 419.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/0.1388, allocations: 59.97 kB / 419.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.1388, allocations: 8.375 kB / 419.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.1392, allocations: 133.7 kB / 419.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1393, allocations: 0 / 419.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1393, allocations: 3.938 kB / 419.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1393, allocations: 4 kB / 419.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.1398, allocations: 127.9 kB / 420 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.1405, allocations: 424.4 kB / 420.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.141, allocations: 126.4 kB / 420.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.1412, allocations: 64.8 kB / 420.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1412, allocations: 4 kB / 420.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003884/0.1416, allocations: 127.3 kB / 420.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 3.647e-06/0.1416, allocations: 0 / 420.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008047/0.1425, allocations: 237.1 kB / 420.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1425, allocations: 59.41 kB / 421 MB, free: 1.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1427, allocations: 187.1 kB / 421.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1427, allocations: 25.7 kB / 421.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.1428, allocations: 128.1 kB / 421.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1428, allocations: 23.66 kB / 421.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.1429, allocations: 33.7 kB / 421.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.143, allocations: 326.8 kB / 421.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.1433, allocations: 67.94 kB / 421.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.1435, allocations: 91.36 kB / 421.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.144, allocations: 173 kB / 422 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.144, allocations: 4 kB / 422 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005832/0.1446, allocations: 231 kB / 422.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.1447, allocations: 37.7 kB / 422.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1447, allocations: 3.938 kB / 422.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1447, allocations: 4 kB / 422.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.1449, allocations: 27.91 kB / 422.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1449, allocations: 4 kB / 422.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1451, allocations: 36.23 kB / 422.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.1451, allocations: 12 kB / 422.4 MB, free: 500 kB / 350.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 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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.0001127/0.1453, allocations: 125.8 kB / 422.5 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1453, allocations: 11.81 kB / 422.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.1453, allocations: 25.27 kB / 422.5 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1454, allocations: 0 / 422.5 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1454, allocations: 4 kB / 422.5 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1454, allocations: 0 / 422.5 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.1456, allocations: 221.7 kB / 422.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1456, allocations: 11.94 kB / 422.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1457, allocations: 19.97 kB / 422.8 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1457, allocations: 0 / 422.8 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.1458, allocations: 11.94 kB / 422.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1458, allocations: 0 / 422.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1458, allocations: 0 / 422.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2295/0.3753, allocations: 195.7 kB / 423 MB, free: 41.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.3754, allocations: 92.97 kB / 423.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.3755, allocations: 3.5 kB / 423.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3757, allocations: 20 kB / 423.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.3758, allocations: 24.59 kB / 423.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.3758, allocations: 4.312 kB / 423.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.3759, allocations: 131.3 kB / 423.3 MB, free: 41.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3759, allocations: 0.8125 kB / 423.3 MB, free: 41.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.3762, allocations: 31.05 kB / 423.3 MB, free: 41.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.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 (10): * Single equations (assignments): 7 * 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.0001362/0.3763, allocations: 105.1 kB / 423.4 MB, free: 41.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006023/0.3769, allocations: 205.7 kB / 423.6 MB, free: 41.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.377, allocations: 3.016 kB / 423.6 MB, free: 41.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.3772, allocations: 73.42 kB / 423.7 MB, free: 41.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.3775, allocations: 24.98 kB / 423.7 MB, free: 41.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.3781, allocations: 300.3 kB / 424 MB, free: 41.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.3783, allocations: 0.7141 MB / 424.7 MB, free: 40.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.3784, allocations: 15.22 kB / 424.7 MB, free: 40.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.3784, allocations: 14.09 kB / 424.7 MB, free: 40.49 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3784, allocations: 0 / 424.7 MB, free: 40.49 MB / 350.1 MB Notification: Performance of Templates: time 0.004184/0.3826, allocations: 1.537 MB / 426.3 MB, free: 40.47 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1)