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.002067/0.002067, allocations: 115.1 kB / 16.37 MB, free: 6 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.001969/0.001969, allocations: 194.7 kB / 17.3 MB, free: 5.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.637/1.637, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06022/0.06022, allocations: 10.73 MB / 281.3 MB, free: 1.316 MB / 222.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.003259/0.003259, allocations: 67.91 kB / 342 MB, free: 4.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3464, allocations: 49.01 MB / 391 MB, free: 49.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002896/0.3494, allocations: 1.73 MB / 392.7 MB, free: 48.76 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.3504, allocations: 0.5954 MB / 393.3 MB, free: 48.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3505, allocations: 2.75 kB / 393.3 MB, free: 48.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.3507, allocations: 16.52 kB / 393.3 MB, free: 48.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.3508, allocations: 33.84 kB / 393.4 MB, free: 48.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.3511, allocations: 68.44 kB / 393.4 MB, free: 48.27 MB / 318.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 NFFlatten.flatten: time 0.000345/0.3514, allocations: 179.7 kB / 393.6 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3516, allocations: 32.62 kB / 393.7 MB, free: 48.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3518, allocations: 72.58 kB / 393.7 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3519, allocations: 75.19 kB / 393.8 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.3519, allocations: 12.38 kB / 393.8 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.848e-05/0.352, allocations: 12.19 kB / 393.8 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.352, allocations: 28.95 kB / 393.9 MB, free: 48.08 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.3521, allocations: 68.97 kB / 393.9 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.3524, allocations: 144.2 kB / 394.1 MB, free: 47.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3524, allocations: 1.469 kB / 394.1 MB, free: 47.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3524, allocations: 0 / 394.1 MB, free: 47.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3524, allocations: 4 kB / 394.1 MB, free: 47.97 MB / 318.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.001172/0.3536, allocations: 0.5003 MB / 394.6 MB, free: 47.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.3537, allocations: 17.08 kB / 394.6 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/0.3538, allocations: 18.03 kB / 394.6 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.3542, allocations: 251 kB / 394.8 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.515e-05/0.3543, allocations: 58.56 kB / 394.9 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.3544, allocations: 11.09 kB / 394.9 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.3549, allocations: 135.9 kB / 395 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3549, allocations: 5.312 kB / 395.1 MB, free: 47.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.3549, allocations: 4.516 kB / 395.1 MB, free: 47.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.355, allocations: 2.906 kB / 395.1 MB, free: 47.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.3555, allocations: 123.7 kB / 395.2 MB, free: 47.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000976/0.3565, allocations: 436.4 kB / 395.6 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.357, allocations: 121.2 kB / 395.7 MB, free: 46.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.3572, allocations: 67.91 kB / 395.8 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.3573, allocations: 1.812 kB / 395.8 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003905/0.3577, allocations: 125.3 kB / 395.9 MB, free: 46.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.3577, allocations: 3.938 kB / 395.9 MB, free: 46.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008715/0.3586, allocations: 238.9 kB / 396.2 MB, free: 46.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3586, allocations: 54.95 kB / 396.2 MB, free: 46.49 MB / 318.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.0002088/0.3588, allocations: 185.1 kB / 396.4 MB, free: 46.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3589, allocations: 35.08 kB / 396.4 MB, free: 46.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.3589, allocations: 125.9 kB / 396.5 MB, free: 46.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.359, allocations: 26.27 kB / 396.6 MB, free: 46.19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.359, allocations: 31.84 kB / 396.6 MB, free: 46.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.3591, allocations: 326.6 kB / 396.9 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.3594, allocations: 62.44 kB / 397 MB, free: 45.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.3596, allocations: 96.94 kB / 397.1 MB, free: 45.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.3601, allocations: 180.5 kB / 397.3 MB, free: 45.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3601, allocations: 0 / 397.3 MB, free: 45.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005621/0.3607, allocations: 234.9 kB / 397.5 MB, free: 45.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.3607, allocations: 33.3 kB / 397.5 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3607, allocations: 5.5 kB / 397.5 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3608, allocations: 1.688 kB / 397.5 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.3609, allocations: 30.81 kB / 397.6 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.361, allocations: 2.188 kB / 397.6 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3612, allocations: 24.3 kB / 397.6 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.3612, allocations: 8.484 kB / 397.6 MB, free: 45.52 MB / 318.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 9.012e-05/0.3613, allocations: 127.4 kB / 397.7 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3613, allocations: 14.66 kB / 397.7 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.3614, allocations: 22.11 kB / 397.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3614, allocations: 1.219 kB / 397.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3614, allocations: 1.891 kB / 397.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3614, allocations: 0.7031 kB / 397.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.3616, allocations: 227.6 kB / 398 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3616, allocations: 1.594 kB / 398 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.3618, allocations: 25.75 kB / 398 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3618, allocations: 0.5625 kB / 398 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3618, allocations: 9.797 kB / 398 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3618, allocations: 1.734 kB / 398 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3618, allocations: 0 / 398 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.3624, allocations: 204.3 kB / 398.2 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.3624, allocations: 88.81 kB / 398.3 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.3625, allocations: 6.109 kB / 398.3 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.3626, allocations: 26.03 kB / 398.3 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.3627, allocations: 18.48 kB / 398.3 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3628, allocations: 7.984 kB / 398.4 MB, free: 44.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3629, allocations: 130.5 kB / 398.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3629, allocations: 4 kB / 398.5 MB, free: 44.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.3631, allocations: 26.56 kB / 398.5 MB, free: 44.83 MB / 318.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.0001167/0.3632, allocations: 102 kB / 398.6 MB, free: 44.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.3639, allocations: 212.8 kB / 398.8 MB, free: 44.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3639, allocations: 4.062 kB / 398.8 MB, free: 44.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.3642, allocations: 74.3 kB / 398.9 MB, free: 44.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.3645, allocations: 22.42 kB / 398.9 MB, free: 44.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.3652, allocations: 265.8 kB / 399.2 MB, free: 44.42 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.3653, allocations: 0.7111 MB / 399.9 MB, free: 43.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.349e-05/0.3654, allocations: 15.84 kB / 399.9 MB, free: 43.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.3655, allocations: 20.36 kB / 399.9 MB, free: 43.71 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3655, allocations: 0 / 399.9 MB, free: 43.71 MB / 318.1 MB Notification: Performance of Templates: time 0.004652/0.3701, allocations: 1.778 MB / 401.7 MB, free: 42.9 MB / 318.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 -s cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1)