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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 110.3 kB / 16.42 MB, free: 6.484 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.001065/0.001065, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.312/1.312, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05878/0.05878, allocations: 10.74 MB / 281.3 MB, free: 1.289 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.001385/0.001385, allocations: 67.67 kB / 391.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07845/0.07984, allocations: 49.04 MB / 440.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.002872/0.08274, allocations: 2.356 MB / 442.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.0845, allocations: 1.427 MB / 444.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.08471, allocations: 15.92 kB / 444.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.08538, allocations: 214.9 kB / 444.6 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.0003549/0.08575, allocations: 155.3 kB / 444.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.08659, allocations: 410.9 kB / 445.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.08716, allocations: 0.5938 MB / 445.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.08734, allocations: 92.98 kB / 445.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.08759, allocations: 227.2 kB / 446 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.08788, allocations: 247 kB / 446.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.08796, allocations: 35.94 kB / 446.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.08821, allocations: 151.9 kB / 446.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.08837, allocations: 139.6 kB / 446.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.08856, allocations: 218.5 kB / 446.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.08914, allocations: 0.545 MB / 447.3 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.08915, allocations: 3.984 kB / 447.3 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.08916, allocations: 0 / 447.3 MB, free: 13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.08918, allocations: 0 / 447.3 MB, free: 13 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001327/0.09051, allocations: 0.8845 MB / 448.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.09056, allocations: 11.89 kB / 448.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.09068, allocations: 60.19 kB / 448.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.09131, allocations: 454.4 kB / 448.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.09134, allocations: 25.03 kB / 448.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.09142, allocations: 40.03 kB / 448.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.0921, allocations: 440.3 kB / 449.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.09213, allocations: 7.938 kB / 449.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.09217, allocations: 12 kB / 449.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.09219, allocations: 8 kB / 449.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000543/0.09274, allocations: 314.4 kB / 449.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.09498, allocations: 1.54 MB / 451.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.09541, allocations: 242.9 kB / 451.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.09566, allocations: 145 kB / 451.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.0957, allocations: 4.234 kB / 451.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/0.0961, allocations: 243.2 kB / 451.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.09611, allocations: 0 / 451.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009753/0.09709, allocations: 0.5598 MB / 452.3 MB, free: 7.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.09717, allocations: 110.8 kB / 452.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.09774, allocations: 0.5175 MB / 452.9 MB, free: 7.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.09778, allocations: 29.7 kB / 452.9 MB, free: 7.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.09797, allocations: 271.9 kB / 453.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.09806, allocations: 114.4 kB / 453.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.09819, allocations: 94.03 kB / 453.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.09835, allocations: 370.7 kB / 453.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.09861, allocations: 144.9 kB / 453.9 MB, free: 6.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.09896, allocations: 290.1 kB / 454.2 MB, free: 5.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.1008, allocations: 0.9023 MB / 455.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1008, allocations: 0 / 455.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000902/0.1017, allocations: 0.6129 MB / 455.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.1017, allocations: 45.69 kB / 455.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1017, allocations: 4 kB / 455.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1018, allocations: 7.938 kB / 455.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.1022, allocations: 115.8 kB / 455.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.1023, allocations: 8 kB / 455.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.1025, allocations: 51.52 kB / 455.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.1025, allocations: 23.98 kB / 456 MB, free: 3.891 MB / 334.1 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 58 * 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.0002924/0.1028, allocations: 257.4 kB / 456.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.1029, allocations: 59.44 kB / 456.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008696/0.1038, allocations: 487.9 kB / 456.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1038, allocations: 11.86 kB / 456.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1038, allocations: 0 / 456.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.702e-05/0.1039, allocations: 124.5 kB / 456.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.852e-05/0.104, allocations: 15.98 kB / 456.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1042, allocations: 19.98 kB / 456.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.1043, allocations: 23.97 kB / 456.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00119/0.1055, allocations: 0.6614 MB / 457.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001131/0.1066, allocations: 0.868 MB / 458.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002832/0.1069, allocations: 195.9 kB / 458.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003568/0.1073, allocations: 366.8 kB / 459 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of Backend: time 7.51e-07/0.1073, allocations: 0 / 459 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.109, allocations: 0.7853 MB / 459.8 MB, free: 72 kB / 334.1 MB Notification: Performance of SimCode: time 0.001609/0.1106, allocations: 1.475 MB / 461.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of Templates: time 0.01153/0.1222, allocations: 5.854 MB / 467.1 MB, free: 8.676 MB / 350.1 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)