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.008606/0.008606, allocations: 103.7 kB / 15.74 MB, free: 6.039 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.001618/0.001619, allocations: 195.1 kB / 16.68 MB, free: 5.953 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.804/1.804, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.07215/0.07215, allocations: 10.74 MB / 280.6 MB, free: 10.4 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.001755/0.001755, allocations: 67.03 kB / 390.8 MB, free: 5.012 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4171, allocations: 49.02 MB / 439.9 MB, free: 5.586 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) as default value. Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.004231/0.4214, allocations: 1.718 MB / 441.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.4229, allocations: 0.5906 MB / 442.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.423, allocations: 6.688 kB / 442.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.4232, allocations: 18.98 kB / 442.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.4233, allocations: 30.95 kB / 442.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.4237, allocations: 64.38 kB / 442.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.4241, allocations: 188.2 kB / 442.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.4243, allocations: 32.47 kB / 442.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.4245, allocations: 73.47 kB / 442.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.4247, allocations: 66.95 kB / 442.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.4247, allocations: 13 kB / 442.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.4248, allocations: 16.5 kB / 442.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.4248, allocations: 35.3 kB / 442.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.425, allocations: 66.11 kB / 442.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.4253, allocations: 137.9 kB / 442.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4253, allocations: 2.016 kB / 442.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4253, allocations: 0 / 442.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.4253, allocations: 0 / 442.9 MB, free: 3.578 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.001103/0.4264, allocations: 0.5098 MB / 443.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4265, allocations: 13.48 kB / 443.4 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.4265, allocations: 19.03 kB / 443.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.4269, allocations: 247.5 kB / 443.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.786e-05/0.427, allocations: 66.3 kB / 443.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.427, allocations: 12.17 kB / 443.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.4275, allocations: 135.7 kB / 443.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4275, allocations: 0 / 443.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.4275, allocations: 4.812 kB / 443.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4275, allocations: 4.188 kB / 443.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.428, allocations: 121.2 kB / 444 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008235/0.4288, allocations: 434.5 kB / 444.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.4293, allocations: 124.9 kB / 444.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.4295, allocations: 63.28 kB / 444.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.4296, allocations: 1.281 kB / 444.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.43, allocations: 137.9 kB / 444.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.43, allocations: 0 / 444.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.001005/0.431, allocations: 239.1 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.431, allocations: 55.14 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.4313, allocations: 183.6 kB / 445.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.4314, allocations: 27.17 kB / 445.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.4315, allocations: 130.2 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.4315, allocations: 26.45 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.4316, allocations: 36.03 kB / 445.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4318, allocations: 326.3 kB / 445.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.432, allocations: 62.52 kB / 445.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.4323, allocations: 99.77 kB / 445.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.4329, allocations: 173 kB / 446.1 MB, free: 1.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4329, allocations: 3.938 kB / 446.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006684/0.4336, allocations: 232 kB / 446.3 MB, free: 1.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.4336, allocations: 31.52 kB / 446.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.4337, allocations: 5.688 kB / 446.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.4337, allocations: 2.188 kB / 446.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.4339, allocations: 26.08 kB / 446.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.434, allocations: 14.95 kB / 446.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.4342, allocations: 28.66 kB / 446.4 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.4342, allocations: 3.938 kB / 446.4 MB, free: 1.121 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 0.0001231/0.4344, allocations: 122.4 kB / 446.6 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.4344, allocations: 15.52 kB / 446.6 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.4345, allocations: 23.36 kB / 446.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4345, allocations: 2.141 kB / 446.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4345, allocations: 4 kB / 446.6 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4345, allocations: 0.7969 kB / 446.6 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.4348, allocations: 223.9 kB / 446.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4348, allocations: 1.062 kB / 446.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.435, allocations: 26.62 kB / 446.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.435, allocations: 7.875 kB / 446.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.435, allocations: 6.453 kB / 446.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.435, allocations: 1.094 kB / 446.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.435, allocations: 0 / 446.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.4356, allocations: 207.4 kB / 447.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.4356, allocations: 89.75 kB / 447.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.4357, allocations: 11.17 kB / 447.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.4359, allocations: 25.75 kB / 447.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.436, allocations: 17.69 kB / 447.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.436, allocations: 3.219 kB / 447.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.4361, allocations: 130.8 kB / 447.3 MB, free: 432 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4361, allocations: 1.25 kB / 447.3 MB, free: 432 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.4364, allocations: 26.75 kB / 447.4 MB, free: 428 kB / 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.0001442/0.4365, allocations: 101.8 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006884/0.4372, allocations: 208.8 kB / 447.7 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4372, allocations: 1.344 kB / 447.7 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.4375, allocations: 77.11 kB / 447.7 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.4378, allocations: 26.08 kB / 447.8 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007448/0.4385, allocations: 272.3 kB / 448 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.439, allocations: 0.719 MB / 448.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.439, allocations: 8.062 kB / 448.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.4391, allocations: 19.3 kB / 448.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4391, allocations: 0 / 448.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Templates: time 0.005735/0.4449, allocations: 1.783 MB / 450.6 MB, free: 14.32 MB / 334.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)