Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001748/0.001748, allocations: 177.3 kB / 15.95 MB, free: 216 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.264/1.264, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05311/0.05311, allocations: 10.74 MB / 281.1 MB, free: 10.57 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.0004831/0.0004832, allocations: 12.22 kB / 341.6 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08105/0.08155, allocations: 50 MB / 391.6 MB, free: 5.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.00181/0.0834, allocations: 1.421 MB / 393 MB, free: 4.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.08441, allocations: 0.5974 MB / 393.6 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.08456, allocations: 3.938 kB / 393.6 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.0846, allocations: 7.875 kB / 393.6 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.08475, allocations: 39.88 kB / 393.7 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.08506, allocations: 67.84 kB / 393.7 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.0853, allocations: 123.7 kB / 393.9 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.08542, allocations: 29.67 kB / 393.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.08553, allocations: 67.75 kB / 393.9 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.08566, allocations: 79.59 kB / 394 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.08569, allocations: 8 kB / 394 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.08572, allocations: 4 kB / 394 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.08576, allocations: 31.89 kB / 394.1 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.08582, allocations: 53.58 kB / 394.1 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.08595, allocations: 115.9 kB / 394.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.08596, allocations: 0 / 394.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.08597, allocations: 0 / 394.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.08598, allocations: 7.938 kB / 394.2 MB, free: 3.133 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.0009874/0.08698, allocations: 0.5604 MB / 394.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.08702, allocations: 12.03 kB / 394.8 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.0871, allocations: 19.77 kB / 394.8 MB, free: 2.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.0874, allocations: 246.5 kB / 395.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.08749, allocations: 67.39 kB / 395.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.08753, allocations: 12 kB / 395.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.08803, allocations: 216.7 kB / 395.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.08804, allocations: 0 / 395.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.08807, allocations: 4 kB / 395.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.08808, allocations: 7.953 kB / 395.4 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.08867, allocations: 187.8 kB / 395.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009931/0.08968, allocations: 0.6605 MB / 396.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/0.09032, allocations: 198.4 kB / 396.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.09035, allocations: 192 / 396.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004808/0.09084, allocations: 179.2 kB / 396.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.09085, allocations: 0 / 396.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001022/0.09188, allocations: 345.3 kB / 396.9 MB, free: 240 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.09194, allocations: 63.34 kB / 397 MB, free: 164 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.09216, allocations: 199.7 kB / 397.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.0922, allocations: 29.7 kB / 397.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.09232, allocations: 148.1 kB / 397.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.09236, allocations: 31.55 kB / 397.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.09238, allocations: 4 kB / 397.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.09249, allocations: 334.8 kB / 397.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.09285, allocations: 107.9 kB / 397.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.09321, allocations: 157.9 kB / 398 MB, free: 15.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.09357, allocations: 163.3 kB / 398.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.09358, allocations: 4 kB / 398.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008318/0.09442, allocations: 376.6 kB / 398.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/0.0945, allocations: 67.38 kB / 398.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.09451, allocations: 0 / 398.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.09454, allocations: 4 kB / 398.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.09495, allocations: 71.89 kB / 398.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.09497, allocations: 0 / 398.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.09527, allocations: 59.8 kB / 398.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.09531, allocations: 15.92 kB / 398.7 MB, free: 14.32 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: 15 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.Input.T_start,Input.T_start,$PRE.Input.count,Input.count,Itr.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,I.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): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001329/0.09545, allocations: 133.8 kB / 398.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.09549, allocations: 27.7 kB / 398.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.09554, allocations: 21.52 kB / 398.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.09555, allocations: 0 / 398.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.09556, allocations: 0 / 398.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.09557, allocations: 0 / 398.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.09583, allocations: 241.5 kB / 399.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.09585, allocations: 0 / 399.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.09627, allocations: 67.89 kB / 399.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.09628, allocations: 0 / 399.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.09631, allocations: 4 kB / 399.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.09632, allocations: 4 kB / 399.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.09633, allocations: 0 / 399.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.0974, allocations: 405.1 kB / 399.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.0975, allocations: 100.8 kB / 399.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.09754, allocations: 7.953 kB / 399.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.09777, allocations: 39.95 kB / 399.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.09787, allocations: 36.02 kB / 399.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.09789, allocations: 4 kB / 399.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.989e-05/0.098, allocations: 137.5 kB / 399.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.098, allocations: 0 / 399.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000241/0.09825, allocations: 36 kB / 400 MB, free: 12.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 9.766e-05/0.09835, allocations: 106.2 kB / 400.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007638/0.09912, allocations: 354.8 kB / 400.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.09914, allocations: 0 / 400.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.0995, allocations: 112 kB / 400.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.09975, allocations: 39.67 kB / 400.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.1005, allocations: 366.3 kB / 400.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1007, allocations: 0.7244 MB / 401.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.1008, allocations: 21.53 kB / 401.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.1009, allocations: 15.44 kB / 401.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1009, allocations: 0 / 401.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of Templates: time 0.004576/0.1055, allocations: 2.021 MB / 403.7 MB, free: 9.172 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) Environment - environmentSimulation: