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.007433/0.007433, allocations: 106.2 kB / 15.74 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.001191/0.001191, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.69/1.69, allocations: 205.1 MB / 222.5 MB, free: 4.352 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05921/0.05921, allocations: 10.75 MB / 280.6 MB, free: 10.25 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.001609/0.001609, allocations: 75.17 kB / 390.8 MB, free: 4.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3958, allocations: 49.02 MB / 439.9 MB, free: 5.324 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.00376/0.3996, allocations: 1.711 MB / 441.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.4009, allocations: 0.5948 MB / 442.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.401, allocations: 6.688 kB / 442.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.4012, allocations: 16.09 kB / 442.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.4013, allocations: 33.56 kB / 442.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.4017, allocations: 68.81 kB / 442.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.402, allocations: 179.3 kB / 442.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.4022, allocations: 36.56 kB / 442.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.4024, allocations: 74.33 kB / 442.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.4026, allocations: 65.97 kB / 442.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.4026, allocations: 12.66 kB / 442.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.579e-05/0.4027, allocations: 12.75 kB / 442.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.4027, allocations: 35.36 kB / 442.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.4028, allocations: 74.64 kB / 442.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.4031, allocations: 134.4 kB / 442.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4031, allocations: 0 / 442.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4031, allocations: 0 / 442.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.4032, allocations: 1.969 kB / 442.9 MB, free: 3.32 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.001039/0.4042, allocations: 0.5092 MB / 443.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4043, allocations: 13.78 kB / 443.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.4043, allocations: 22.59 kB / 443.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.4047, allocations: 250.8 kB / 443.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.4048, allocations: 63.39 kB / 443.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.4048, allocations: 11.52 kB / 443.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.4053, allocations: 132.2 kB / 443.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4053, allocations: 0 / 443.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.4053, allocations: 6.094 kB / 443.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4053, allocations: 2.625 kB / 443.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.4059, allocations: 117.9 kB / 444 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.4067, allocations: 433.5 kB / 444.5 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.4072, allocations: 129.6 kB / 444.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.4075, allocations: 60.66 kB / 444.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.4075, allocations: 1.094 kB / 444.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.4079, allocations: 131.8 kB / 444.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.4079, allocations: 0 / 444.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008973/0.4088, allocations: 236.3 kB / 445 MB, free: 1.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.4089, allocations: 58.94 kB / 445.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.4091, allocations: 187.3 kB / 445.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.4091, allocations: 32.95 kB / 445.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.4092, allocations: 123.6 kB / 445.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.4092, allocations: 30.36 kB / 445.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.4093, allocations: 32.47 kB / 445.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.4093, allocations: 324.6 kB / 445.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.4096, allocations: 69.02 kB / 445.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.4099, allocations: 92.06 kB / 445.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.4104, allocations: 175.8 kB / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4104, allocations: 1.922 kB / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006204/0.4111, allocations: 230.1 kB / 446.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.4111, allocations: 34.47 kB / 446.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4111, allocations: 3.938 kB / 446.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.4111, allocations: 3.562 kB / 446.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.4113, allocations: 29.2 kB / 446.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.4114, allocations: 6.938 kB / 446.4 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.4116, allocations: 31.39 kB / 446.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.4116, allocations: 4.875 kB / 446.4 MB, free: 0.8672 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.58e-05/0.4117, allocations: 122.8 kB / 446.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.4117, allocations: 15.59 kB / 446.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.4118, allocations: 22.33 kB / 446.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.4118, allocations: 1.656 kB / 446.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4118, allocations: 1.156 kB / 446.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4118, allocations: 4.641 kB / 446.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.412, allocations: 224.4 kB / 446.8 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4121, allocations: 4 kB / 446.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.4122, allocations: 27.12 kB / 446.9 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4122, allocations: 0 / 446.9 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.4123, allocations: 6.438 kB / 446.9 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4123, allocations: 1.688 kB / 446.9 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4123, allocations: 0 / 446.9 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.4128, allocations: 207.3 kB / 447.1 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.4129, allocations: 90.34 kB / 447.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.4129, allocations: 10 kB / 447.2 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.4131, allocations: 21.62 kB / 447.2 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.4132, allocations: 17.31 kB / 447.2 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.4132, allocations: 12.23 kB / 447.2 MB, free: 264 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.4134, allocations: 125.8 kB / 447.3 MB, free: 176 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4134, allocations: 1.188 kB / 447.3 MB, free: 176 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.4136, allocations: 26.69 kB / 447.4 MB, free: 172 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.0001115/0.4137, allocations: 102.2 kB / 447.5 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006867/0.4144, allocations: 207.6 kB / 447.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4144, allocations: 0 / 447.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.4147, allocations: 71.23 kB / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.415, allocations: 29.34 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.4158, allocations: 273.2 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.4162, allocations: 0.7123 MB / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.856e-05/0.4163, allocations: 18.44 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.4164, allocations: 14.44 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4164, allocations: 1.062 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Templates: time 0.00517/0.4215, allocations: 1.79 MB / 450.6 MB, free: 14.13 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)