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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008879/0.0008879, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009092/0.0009092, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9278/0.9278, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.04078/0.04078, allocations: 8.611 MB / 269.6 MB, free: 4.762 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 342.1 MB, free: 9.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.194e-05, allocations: 2.312 kB / 342.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003851/0.003873, allocations: 2.411 MB / 344.5 MB, free: 6.727 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.006558, allocations: 1.625 MB / 346.1 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.006859, allocations: 23.75 kB / 346.2 MB, free: 5.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.007563, allocations: 230.8 kB / 346.4 MB, free: 4.844 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.008087, allocations: 218.8 kB / 346.6 MB, free: 4.629 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009575/0.009044, allocations: 450.8 kB / 347 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006638/0.009708, allocations: 0.5855 MB / 347.6 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.009863, allocations: 65.09 kB / 347.7 MB, free: 3.535 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.0102, allocations: 303.2 kB / 348 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.01047, allocations: 207.4 kB / 348.2 MB, free: 3.035 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.01052, allocations: 32 kB / 348.2 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.01078, allocations: 151.8 kB / 348.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.01092, allocations: 143.4 kB / 348.5 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.01105, allocations: 127.6 kB / 348.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.01158, allocations: 454.3 kB / 349.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.01159, allocations: 0 / 349.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01159, allocations: 0 / 349.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.01159, allocations: 0 / 349.1 MB, free: 2.145 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00114/0.01273, allocations: 0.9317 MB / 350 MB, free: 1.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.01277, allocations: 11.97 kB / 350 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.01291, allocations: 92.56 kB / 350.1 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.01342, allocations: 401.6 kB / 350.5 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.01349, allocations: 80.62 kB / 350.6 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.01354, allocations: 32.38 kB / 350.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.01401, allocations: 376.8 kB / 351 MB, free: 100 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.01403, allocations: 11.95 kB / 351 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.01406, allocations: 16 kB / 351 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.01407, allocations: 8 kB / 351 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.01433, allocations: 162 kB / 351.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.01611, allocations: 1.919 MB / 353.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.01638, allocations: 136.8 kB / 353.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.01649, allocations: 93.28 kB / 353.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.01651, allocations: 8.125 kB / 353.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.01673, allocations: 189 kB / 353.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.01674, allocations: 0 / 353.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005329/0.01727, allocations: 368.9 kB / 353.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.01731, allocations: 89.09 kB / 354 MB, free: 12.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.01773, allocations: 494.2 kB / 354.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.01776, allocations: 33.7 kB / 354.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.01797, allocations: 338.8 kB / 354.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.01805, allocations: 99.23 kB / 354.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.01817, allocations: 103.6 kB / 355 MB, free: 11.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.01835, allocations: 0.539 MB / 355.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.01845, allocations: 78.53 kB / 355.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.01867, allocations: 308.4 kB / 355.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.01911, allocations: 468.3 kB / 356.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.01911, allocations: 12 kB / 356.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000539/0.01965, allocations: 424.5 kB / 356.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.01969, allocations: 44.12 kB / 356.8 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.0197, allocations: 8 kB / 356.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.01971, allocations: 4 kB / 356.9 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.02015, allocations: 95.83 kB / 356.9 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.02015, allocations: 11.94 kB / 357 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.02033, allocations: 47.67 kB / 357 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.02036, allocations: 19.98 kB / 357 MB, free: 9.582 MB / 330.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] 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: 20 * Number of states: 0 () * Number of discrete variables: 20 ($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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_track.ATreq_in,R_track.satHIGH_in,R_track.satLOW_in,R.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0002129/0.02057, allocations: 241.3 kB / 357.3 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/0.02065, allocations: 67.55 kB / 357.3 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.02113, allocations: 337.8 kB / 357.7 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.02113, allocations: 4 kB / 357.7 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.02113, allocations: 4 kB / 357.7 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.02114, allocations: 3.984 kB / 357.7 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.02143, allocations: 272.9 kB / 357.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.02144, allocations: 0 / 357.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.02184, allocations: 63.91 kB / 358 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.02185, allocations: 3.938 kB / 358 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.02187, allocations: 11.98 kB / 358 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.02188, allocations: 4 kB / 358 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.02188, allocations: 3.984 kB / 358 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.02246, allocations: 465.1 kB / 358.5 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.02252, allocations: 51.53 kB / 358.5 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.02257, allocations: 8 kB / 358.5 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.02268, allocations: 15.98 kB / 358.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.02274, allocations: 19.97 kB / 358.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.02277, allocations: 8 kB / 358.6 MB, free: 7.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.02299, allocations: 294.7 kB / 358.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.02299, allocations: 0 / 358.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000433/0.02343, allocations: 111.8 kB / 359 MB, free: 7.535 MB / 330.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 (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.001131/0.02456, allocations: 441.6 kB / 359.4 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00041/0.02497, allocations: 331 kB / 359.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02497, allocations: 0 / 359.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.02515, allocations: 189 kB / 359.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.02553, allocations: 83.03 kB / 360 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.02656, allocations: 0.8108 MB / 360.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.969e-05/0.02666, allocations: 137 kB / 360.9 MB, free: 5.602 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.02681, allocations: 59.17 kB / 361 MB, free: 5.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.02703, allocations: 150.2 kB / 361.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02703, allocations: 0 / 361.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of Templates: time 0.009719/0.03674, allocations: 5.261 MB / 366.4 MB, free: 192 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0513964388519526]