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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 107.5 kB / 16.41 MB, free: 6.512 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.001241/0.001241, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.283/1.283, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05745/0.05745, allocations: 10.73 MB / 281.3 MB, free: 1.285 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.001567/0.001567, allocations: 72.91 kB / 391.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07232/0.0739, allocations: 49.03 MB / 440.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003191/0.07712, allocations: 2.341 MB / 442.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.07906, allocations: 1.419 MB / 444.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.07927, allocations: 11.88 kB / 444.3 MB, free: 0 / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.08, allocations: 215.1 kB / 444.5 MB, free: 15.79 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.08037, allocations: 155.2 kB / 444.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.0812, allocations: 401.8 kB / 445.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006042/0.08182, allocations: 0.5734 MB / 445.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.082, allocations: 88.98 kB / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.08227, allocations: 227.1 kB / 446 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.08261, allocations: 231 kB / 446.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.0827, allocations: 28 kB / 446.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.08296, allocations: 147.9 kB / 446.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.08312, allocations: 135.6 kB / 446.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.0833, allocations: 194.7 kB / 446.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.08387, allocations: 0.51 MB / 447.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.08389, allocations: 4 kB / 447.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.08389, allocations: 0 / 447.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.08391, allocations: 7.938 kB / 447.2 MB, free: 13.11 MB / 334.1 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.001257/0.08518, allocations: 0.8494 MB / 448 MB, free: 12.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.08522, allocations: 19.83 kB / 448.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.08533, allocations: 52.28 kB / 448.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.08592, allocations: 434.3 kB / 448.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/0.086, allocations: 84.53 kB / 448.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.08607, allocations: 31.94 kB / 448.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.08674, allocations: 391.6 kB / 449 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.08677, allocations: 4 kB / 449 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.08681, allocations: 16 kB / 449.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.08683, allocations: 7.984 kB / 449.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.08735, allocations: 266 kB / 449.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.08956, allocations: 1.453 MB / 450.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.09011, allocations: 198.5 kB / 451 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.09036, allocations: 124.9 kB / 451.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.0904, allocations: 7.984 kB / 451.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.09078, allocations: 225.7 kB / 451.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.994e-06/0.09079, allocations: 0 / 451.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009089/0.09171, allocations: 485.2 kB / 451.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.09177, allocations: 106.8 kB / 451.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.09234, allocations: 493.7 kB / 452.4 MB, free: 7.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.09239, allocations: 33.7 kB / 452.4 MB, free: 7.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.09258, allocations: 252.2 kB / 452.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.09266, allocations: 94.75 kB / 452.8 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.09278, allocations: 77.92 kB / 452.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.09293, allocations: 362.8 kB / 453.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.09316, allocations: 116.7 kB / 453.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.09348, allocations: 236.9 kB / 453.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.09505, allocations: 0.7367 MB / 454.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.09506, allocations: 4 kB / 454.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008108/0.09588, allocations: 0.5098 MB / 454.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.09594, allocations: 33.7 kB / 454.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.09595, allocations: 4.406 kB / 454.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.09598, allocations: 8 kB / 454.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.09658, allocations: 95.88 kB / 454.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.09661, allocations: 11.94 kB / 454.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.09686, allocations: 43.58 kB / 455 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.09691, allocations: 16 kB / 455 MB, free: 4.848 MB / 334.1 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] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.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 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003541/0.09728, allocations: 260.5 kB / 455.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.09736, allocations: 47.42 kB / 455.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008086/0.09817, allocations: 440 kB / 455.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.0982, allocations: 11.92 kB / 455.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.09821, allocations: 0 / 455.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.09832, allocations: 116.6 kB / 455.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-05/0.09841, allocations: 19.92 kB / 455.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.09858, allocations: 15.98 kB / 455.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/0.09867, allocations: 19.97 kB / 455.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001088/0.09977, allocations: 0.5765 MB / 456.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001125/0.1009, allocations: 0.773 MB / 457.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002794/0.1012, allocations: 176 kB / 457.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003502/0.1016, allocations: 339.1 kB / 457.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.1016, allocations: 4 kB / 457.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.1033, allocations: 0.7174 MB / 458.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of SimCode: time 0.001504/0.1048, allocations: 1.349 MB / 459.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of Templates: time 0.01068/0.1155, allocations: 5.266 MB / 465.1 MB, free: 10.72 MB / 350.1 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)