Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 172 kB / 16.11 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05929/0.05929, allocations: 10.76 MB / 27.63 MB, free: 1.207 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.519/1.519, allocations: 205.4 MB / 236.2 MB, free: 10.13 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008642/0.0008644, allocations: 95.78 kB / 287 MB, free: 12.38 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004407, allocations: 12 kB / 347.6 MB, free: 15.61 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.277, allocations: 50 MB / 397.6 MB, free: 34.59 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.3829, allocations: 83.43 MB / 481.1 MB, free: 15.04 MB / 362.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.3832, allocations: 87.94 kB / 481.2 MB, free: 14.95 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02984/0.4131, allocations: 10.79 MB / 491.9 MB, free: 4.129 MB / 362.8 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4131, allocations: 4 kB / 491.9 MB, free: 4.125 MB / 362.8 MB Notification: Performance of Transformations before backend: time 5.271e-05/0.4132, allocations: 8 kB / 492 MB, free: 4.117 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001711/0.4149, allocations: 0.8386 MB / 492.8 MB, free: 3.211 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.415, allocations: 8.031 kB / 492.8 MB, free: 3.203 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.4152, allocations: 60.19 kB / 492.9 MB, free: 3.145 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009094/0.4161, allocations: 474.5 kB / 493.3 MB, free: 2.645 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.4161, allocations: 25.03 kB / 493.3 MB, free: 2.621 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.4162, allocations: 36.38 kB / 493.4 MB, free: 2.586 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.4169, allocations: 454.6 kB / 493.8 MB, free: 2.109 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.417, allocations: 11.84 kB / 493.8 MB, free: 2.098 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.417, allocations: 19.98 kB / 493.9 MB, free: 2.078 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4171, allocations: 11.94 kB / 493.9 MB, free: 2.066 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006179/0.4177, allocations: 322.3 kB / 494.2 MB, free: 1.754 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.4202, allocations: 1.599 MB / 495.8 MB, free: 68 kB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.4207, allocations: 258.9 kB / 496 MB, free: 15.8 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.421, allocations: 153 kB / 496.2 MB, free: 15.65 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.421, allocations: 4.234 kB / 496.2 MB, free: 15.64 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004145/0.4214, allocations: 251.2 kB / 496.4 MB, free: 15.38 MB / 378.8 MB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/0.4215, allocations: 0 / 496.4 MB, free: 15.38 MB / 378.8 MB Notification: Performance of matching and sorting (n=33): time 0.001059/0.4225, allocations: 0.5851 MB / 497 MB, free: 14.79 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.4226, allocations: 106.8 kB / 497.1 MB, free: 14.66 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.4232, allocations: 0.5175 MB / 497.6 MB, free: 14.13 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.4233, allocations: 29.7 kB / 497.7 MB, free: 14.1 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.4234, allocations: 279.8 kB / 497.9 MB, free: 13.82 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4236, allocations: 118.4 kB / 498.1 MB, free: 13.7 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/0.4236, allocations: 4 kB / 498.1 MB, free: 13.7 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4238, allocations: 366.8 kB / 498.4 MB, free: 13.33 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.424, allocations: 148.9 kB / 498.6 MB, free: 13.19 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.4244, allocations: 302.1 kB / 498.9 MB, free: 12.84 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.4263, allocations: 0.937 MB / 499.8 MB, free: 11.81 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4263, allocations: 8 kB / 499.8 MB, free: 11.8 MB / 378.8 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001021/0.4273, allocations: 0.6404 MB / 0.4887 GB, free: 11.15 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.4274, allocations: 37.7 kB / 0.4888 GB, free: 11.11 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4274, allocations: 4 kB / 0.4888 GB, free: 11.11 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4274, allocations: 11.94 kB / 0.4888 GB, free: 11.09 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.4278, allocations: 111.8 kB / 0.4889 GB, free: 10.98 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.4279, allocations: 7.938 kB / 0.4889 GB, free: 10.98 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.4281, allocations: 59.5 kB / 0.4889 GB, free: 10.92 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.4282, allocations: 20.09 kB / 0.489 GB, free: 10.9 MB / 378.8 MB Warning: Assuming fixed start value for the following 10 variables: process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 58 * 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.0003417/0.4285, allocations: 265.8 kB / 0.4892 GB, free: 10.62 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.4286, allocations: 55.42 kB / 0.4893 GB, free: 10.57 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009039/0.4295, allocations: 0.5115 MB / 0.4898 GB, free: 10.04 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.4296, allocations: 4 kB / 0.4898 GB, free: 10.04 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4296, allocations: 7.938 kB / 0.4898 GB, free: 10.03 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.4296, allocations: 7.984 kB / 0.4898 GB, free: 10.02 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.4301, allocations: 457.2 kB / 0.4902 GB, free: 9.527 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4301, allocations: 0 / 0.4902 GB, free: 9.527 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.4305, allocations: 63.95 kB / 0.4903 GB, free: 9.465 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.4305, allocations: 4 kB / 0.4903 GB, free: 9.461 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.4306, allocations: 19.98 kB / 0.4903 GB, free: 9.441 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.4306, allocations: 0 / 0.4903 GB, free: 9.441 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.4306, allocations: 7.875 kB / 0.4903 GB, free: 9.434 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.4318, allocations: 0.7143 MB / 0.491 GB, free: 8.691 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.4319, allocations: 132.4 kB / 0.4911 GB, free: 8.543 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.257e-05/0.432, allocations: 16.11 kB / 0.4912 GB, free: 8.527 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.4322, allocations: 27.91 kB / 0.4912 GB, free: 8.5 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.4323, allocations: 23.91 kB / 0.4912 GB, free: 8.477 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.4323, allocations: 19.98 kB / 0.4912 GB, free: 8.457 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0004372/0.4328, allocations: 366.8 kB / 0.4916 GB, free: 8.102 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4328, allocations: 0 / 0.4916 GB, free: 8.102 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0005044/0.4333, allocations: 127.8 kB / 0.4917 GB, free: 7.977 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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 (31): * Single equations (assignments): 28 * 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.001023/0.4343, allocations: 483.4 kB / 0.4922 GB, free: 7.531 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0007853/0.4351, allocations: 0.4948 MB / 0.4926 GB, free: 7.023 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4351, allocations: 4 kB / 0.4926 GB, free: 7.02 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.4355, allocations: 256.3 kB / 0.4929 GB, free: 6.758 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.4359, allocations: 77.91 kB / 0.493 GB, free: 6.68 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.4375, allocations: 1.137 MB / 0.4941 GB, free: 5.52 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.438, allocations: 0.8703 MB / 0.4949 GB, free: 4.625 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0002802/0.4383, allocations: 103.4 kB / 0.495 GB, free: 4.523 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-05/0.4384, allocations: 35.44 kB / 0.495 GB, free: 4.488 MB / 378.8 MB Notification: Performance of SimCode: time 5.41e-07/0.4384, allocations: 3.938 kB / 0.4951 GB, free: 4.484 MB / 378.8 MB Notification: Performance of Templates: time 0.1957/0.6341, allocations: 4.776 MB / 0.4997 GB, free: 100.6 MB / 378.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1)