Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007247/0.007247, allocations: 170.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05803/0.05803, allocations: 10.73 MB / 26.59 MB, free: 2.262 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 235.2 MB, free: 184 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009158/0.0009162, allocations: 87.33 kB / 285.9 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 12 kB / 346.4 MB, free: 5.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1014, allocations: 50 MB / 396.4 MB, free: 3.082 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/0.3963, allocations: 83.43 MB / 479.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.3966, allocations: 77.66 kB / 479.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02518/0.4218, allocations: 10.54 MB / 490.4 MB, free: 4.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4219, allocations: 0 / 490.4 MB, free: 4.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.201e-05/0.4219, allocations: 15.94 kB / 490.4 MB, free: 4.277 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001233/0.4232, allocations: 0.8128 MB / 491.3 MB, free: 3.441 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4232, allocations: 12.03 kB / 491.3 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.4233, allocations: 51.34 kB / 491.3 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007848/0.4241, allocations: 454.5 kB / 491.8 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.026e-05/0.4242, allocations: 75.52 kB / 491.8 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.4243, allocations: 33.25 kB / 491.9 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/0.4249, allocations: 412 kB / 492.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.4249, allocations: 4 kB / 492.3 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.4249, allocations: 18.33 kB / 492.3 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.425, allocations: 4 kB / 492.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.4254, allocations: 276.8 kB / 492.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.4274, allocations: 1.52 MB / 494.1 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.4279, allocations: 205.2 kB / 494.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.4279, allocations: 4.188 kB / 494.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.4283, allocations: 228.7 kB / 494.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.304e-06/0.4283, allocations: 0 / 494.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008807/0.4292, allocations: 0.5903 MB / 495.1 MB, free: 56 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.769e-05/0.4293, allocations: 113.9 kB / 495.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.4298, allocations: 430.5 kB / 495.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.4298, allocations: 28.7 kB / 495.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.43, allocations: 254.1 kB / 495.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/0.4301, allocations: 88.05 kB / 496 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.4302, allocations: 10.31 kB / 496 MB, free: 15.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4304, allocations: 366.2 kB / 496.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.4306, allocations: 124.9 kB / 496.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.4309, allocations: 242.6 kB / 496.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.4312, allocations: 189 kB / 496.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4312, allocations: 0 / 496.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008573/0.4321, allocations: 0.5319 MB / 497.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.4322, allocations: 45.62 kB / 497.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4322, allocations: 3.938 kB / 497.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.4322, allocations: 8 kB / 497.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.4328, allocations: 91.08 kB / 497.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.4328, allocations: 8 kB / 497.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.433, allocations: 50.3 kB / 497.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.4331, allocations: 23.48 kB / 497.7 MB, free: 13.82 MB / 362.7 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition1,R_track.TS,TSsignal.combiTimeTable.nextTimeEvent,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,$PRE.TrackRef.nextEvent,TrackRef.nextEvent,TrackRef.nextEventScaled,R.TS_in,R_track.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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 0.0003597/0.4335, allocations: 246.7 kB / 497.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.4335, allocations: 47.44 kB / 498 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000836/0.4344, allocations: 468.8 kB / 498.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4344, allocations: 4 kB / 498.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4344, allocations: 4 kB / 498.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4344, allocations: 3.984 kB / 498.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.4349, allocations: 445 kB / 498.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.4349, allocations: 0 / 498.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.4355, allocations: 67.89 kB / 498.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4355, allocations: 0 / 498.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.4356, allocations: 11.56 kB / 498.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4356, allocations: 0 / 498.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4356, allocations: 0 / 498.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4366, allocations: 0.6496 MB / 499.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.4368, allocations: 124.5 kB / 499.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.4369, allocations: 15.98 kB / 499.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.437, allocations: 23.98 kB / 499.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4371, allocations: 27.84 kB / 499.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.4372, allocations: 8 kB / 499.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003831/0.4376, allocations: 339.1 kB / 0.4884 GB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4376, allocations: 0 / 0.4884 GB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.438, allocations: 119.8 kB / 0.4885 GB, free: 11.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.TS,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 0.001088/0.4391, allocations: 478.4 kB / 0.489 GB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007144/0.4399, allocations: 415.1 kB / 0.4894 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4399, allocations: 0 / 0.4894 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.4402, allocations: 236.4 kB / 0.4896 GB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.4406, allocations: 63.34 kB / 0.4896 GB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.4421, allocations: 0.9812 MB / 0.4906 GB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.4427, allocations: 0.8705 MB / 0.4915 GB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.443, allocations: 75.17 kB / 0.4915 GB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.4431, allocations: 31.44 kB / 0.4916 GB, free: 8.273 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4431, allocations: 4 kB / 0.4916 GB, free: 8.27 MB / 362.7 MB Notification: Performance of Templates: time 0.01118/0.4543, allocations: 4.382 MB / 0.4958 GB, free: 3.891 MB / 362.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1)