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 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.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.001072/0.001072, allocations: 99.86 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.001241/0.001241, 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.242/1.242, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05242/0.05242, allocations: 10.75 MB / 281.1 MB, free: 10.55 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.0005172/0.0005173, allocations: 16.22 kB / 341.6 MB, free: 23.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07376/0.07429, allocations: 50.01 MB / 391.6 MB, free: 5.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.001715/0.07604, allocations: 1.378 MB / 393 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008852/0.07695, allocations: 0.5662 MB / 393.5 MB, free: 3.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.07708, allocations: 3.938 kB / 393.6 MB, free: 3.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.07712, allocations: 11.92 kB / 393.6 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.07724, allocations: 27.89 kB / 393.6 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.07747, allocations: 55.8 kB / 393.6 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.07767, allocations: 103.8 kB / 393.7 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.0778, allocations: 29.53 kB / 393.8 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.07794, allocations: 51.78 kB / 393.8 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.07805, allocations: 71.66 kB / 393.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.07809, allocations: 4 kB / 393.9 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.162e-05/0.07811, allocations: 8 kB / 393.9 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.07815, allocations: 15.92 kB / 393.9 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.0782, allocations: 45.64 kB / 394 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.07832, allocations: 96.03 kB / 394.1 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.07833, allocations: 0 / 394.1 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.07834, allocations: 7.938 kB / 394.1 MB, free: 3.293 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.07835, allocations: 0 / 394.1 MB, free: 3.293 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008383/0.07919, allocations: 0.5003 MB / 394.6 MB, free: 2.738 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.07924, allocations: 11.97 kB / 394.6 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.0793, allocations: 23.77 kB / 394.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.07957, allocations: 226.7 kB / 394.8 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.07964, allocations: 59.41 kB / 394.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.07967, allocations: 12 kB / 394.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.08005, allocations: 153.4 kB / 395 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.08007, allocations: 0 / 395 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.0801, allocations: 4 kB / 395 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.08011, allocations: 4 kB / 395.1 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.08059, allocations: 151.9 kB / 395.2 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.08133, allocations: 448.4 kB / 395.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.0818, allocations: 154.6 kB / 395.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.08183, allocations: 0 / 395.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/0.08222, allocations: 143.2 kB / 395.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.08224, allocations: 0 / 395.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.000814/0.08306, allocations: 277.3 kB / 396.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.08312, allocations: 63.41 kB / 396.3 MB, free: 0.8945 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter Input.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.08329, allocations: 190.8 kB / 396.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.08332, allocations: 29.7 kB / 396.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.0834, allocations: 120.2 kB / 396.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.08343, allocations: 27.8 kB / 396.6 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.08345, allocations: 0 / 396.6 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.08355, allocations: 330.8 kB / 396.9 MB, free: 188 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.0838, allocations: 79.94 kB / 397 MB, free: 108 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.08408, allocations: 99.38 kB / 397.1 MB, free: 16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.08436, allocations: 109.6 kB / 397.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.08438, allocations: 0 / 397.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005972/0.08498, allocations: 266.8 kB / 397.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.08502, allocations: 33.69 kB / 397.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.08504, allocations: 8.094 kB / 397.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.08506, allocations: 0 / 397.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.08525, allocations: 35.97 kB / 397.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.08528, allocations: 4.375 kB / 397.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.08549, allocations: 43.81 kB / 397.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.08552, allocations: 7.938 kB / 397.6 MB, free: 15.47 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 ($whenCondition1,$whenCondition2,Ptr.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.867e-05/0.08562, allocations: 125.8 kB / 397.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.08565, allocations: 19.7 kB / 397.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.0857, allocations: 21.39 kB / 397.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.08571, allocations: 4 kB / 397.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.08572, allocations: 0 / 397.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.08574, allocations: 7.984 kB / 397.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.08593, allocations: 217.6 kB / 398 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.08595, allocations: 0 / 398 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.0861, allocations: 27.97 kB / 398 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.08611, allocations: 0 / 398 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.08613, allocations: 11.94 kB / 398 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.08614, allocations: 0 / 398 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.08614, allocations: 7.875 kB / 398.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.08668, allocations: 228.8 kB / 398.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.08673, allocations: 89 kB / 398.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.08677, allocations: 0 / 398.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.08695, allocations: 47.86 kB / 398.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.08703, allocations: 19.97 kB / 398.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.08704, allocations: 0 / 398.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.784e-05/0.08714, allocations: 132.1 kB / 398.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08714, allocations: 0 / 398.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.08737, allocations: 31.84 kB / 398.6 MB, free: 14.41 MB / 302.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 (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 8.951e-05/0.08746, allocations: 99.25 kB / 398.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005712/0.08804, allocations: 235.3 kB / 398.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08805, allocations: 0 / 398.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.08832, allocations: 91.94 kB / 399 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.08851, allocations: 24.39 kB / 399 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.08905, allocations: 293.5 kB / 399.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.08933, allocations: 0.724 MB / 400 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.652e-05/0.08941, allocations: 5.094 kB / 400 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.08946, allocations: 19.42 kB / 400.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of SimCode: time 1.784e-06/0.08947, allocations: 0 / 400.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of Templates: time 0.003928/0.0934, allocations: 1.473 MB / 401.5 MB, free: 11.39 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: