Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.001376/0.001376, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001765/0.001765, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 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 1.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.06415/0.06415, allocations: 8.612 MB / 268.2 MB, free: 4.934 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.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 340.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.546e-05, allocations: 10.19 kB / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.002911/0.002936, allocations: 2.354 MB / 342.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.005203, allocations: 1.606 MB / 344.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.005392, allocations: 27.75 kB / 344.1 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.006107, allocations: 226.8 kB / 344.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.006505, allocations: 210.8 kB / 344.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.007336, allocations: 462.7 kB / 345 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.007799, allocations: 0.5943 MB / 345.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.007929, allocations: 57.25 kB / 345.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.008185, allocations: 291.3 kB / 345.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.00842, allocations: 231.4 kB / 346.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.008474, allocations: 32 kB / 346.2 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.008699, allocations: 151.8 kB / 346.3 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.00882, allocations: 159.4 kB / 346.5 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.008945, allocations: 135.5 kB / 346.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.009464, allocations: 0.5956 MB / 347.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.009469, allocations: 3.984 kB / 347.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.00947, allocations: 0 / 347.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.009478, allocations: 0 / 347.2 MB, free: 1.613 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00122/0.0107, allocations: 0.8478 MB / 348.1 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.01073, allocations: 15.97 kB / 348.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.01087, allocations: 100.5 kB / 348.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.01139, allocations: 430 kB / 348.6 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.01141, allocations: 29.38 kB / 348.6 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.01147, allocations: 40.38 kB / 348.7 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008802/0.01236, allocations: 0.4938 MB / 349.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.01239, allocations: 15.89 kB / 349.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.01243, allocations: 12 kB / 349.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.01244, allocations: 8 kB / 349.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.01318, allocations: 356 kB / 349.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.01623, allocations: 1.769 MB / 351.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005795/0.01681, allocations: 255.3 kB / 351.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.01712, allocations: 170.7 kB / 351.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.01716, allocations: 4.328 kB / 351.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005272/0.01768, allocations: 282.4 kB / 352 MB, free: 12.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/0.01769, allocations: 0 / 352 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001443/0.01913, allocations: 0.6256 MB / 352.6 MB, free: 11.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.01921, allocations: 85.11 kB / 352.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/0.01996, allocations: 0.5331 MB / 353.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.02, allocations: 33.64 kB / 353.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.0203, allocations: 292.5 kB / 353.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.02044, allocations: 123 kB / 353.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.02061, allocations: 106.1 kB / 353.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.02085, allocations: 366.8 kB / 354.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.0212, allocations: 178.8 kB / 354.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/0.02174, allocations: 375.2 kB / 354.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.02407, allocations: 0.9413 MB / 355.6 MB, free: 8.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.02408, allocations: 4 kB / 355.7 MB, free: 8.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001587/0.02567, allocations: 0.708 MB / 356.4 MB, free: 7.977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.02572, allocations: 41.64 kB / 356.4 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.02574, allocations: 11.98 kB / 356.4 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.02577, allocations: 8.656 kB / 356.4 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.02626, allocations: 111.8 kB / 356.5 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/0.02629, allocations: 15.92 kB / 356.5 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.02659, allocations: 59.61 kB / 356.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.02664, allocations: 24 kB / 356.6 MB, free: 7.703 MB / 282.7 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: 22 * 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.TS_in,R_track.satLOW_in,R_track.satHIGH_in,R_track.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0004322/0.02707, allocations: 271.2 kB / 356.9 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.0272, allocations: 67.62 kB / 357 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.02832, allocations: 0.5336 MB / 357.5 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.02833, allocations: 4 kB / 357.5 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.02833, allocations: 4 kB / 357.5 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.02834, allocations: 3.938 kB / 357.5 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.02887, allocations: 353 kB / 357.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02887, allocations: 3.938 kB / 357.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.02932, allocations: 67.95 kB / 357.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.02932, allocations: 0 / 357.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.02937, allocations: 15.98 kB / 357.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.02938, allocations: 3.938 kB / 357.9 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02938, allocations: 4 kB / 357.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.03085, allocations: 0.761 MB / 358.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.03095, allocations: 51.56 kB / 358.8 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-05/0.03104, allocations: 19.98 kB / 358.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.03125, allocations: 23.91 kB / 358.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.03134, allocations: 23.95 kB / 358.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.03138, allocations: 8 kB / 358.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005172/0.03189, allocations: 362.8 kB / 359.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03189, allocations: 0 / 359.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005449/0.03244, allocations: 123.8 kB / 359.3 MB, free: 4.922 MB / 282.7 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 (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.002165/0.0346, allocations: 0.4883 MB / 359.8 MB, free: 4.613 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.03564, allocations: 0.5151 MB / 360.3 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03564, allocations: 4.062 kB / 360.3 MB, free: 4.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.0361, allocations: 261.4 kB / 360.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.03659, allocations: 82.98 kB / 360.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.03855, allocations: 1.041 MB / 361.7 MB, free: 2.645 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.03892, allocations: 284.5 kB / 362 MB, free: 2.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002949/0.03921, allocations: 96.2 kB / 362.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.03934, allocations: 40.5 kB / 362.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03934, allocations: 0 / 362.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of Templates: time 0.01329/0.05263, allocations: 5.153 MB / 367.3 MB, free: 13.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.60025277803652]