Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005962/0.005963, allocations: 171.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05611/0.05611, allocations: 10.74 MB / 26.59 MB, free: 2.234 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.489/1.489, allocations: 205.4 MB / 235.2 MB, free: 100 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008041/0.0008041, allocations: 79.09 kB / 285.9 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006517/0.0006518, allocations: 8 kB / 346.4 MB, free: 5.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1461, allocations: 50 MB / 396.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/0.4724, allocations: 79.68 MB / 476.1 MB, free: 16.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.4727, allocations: 75.66 kB / 476.1 MB, free: 16.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01817/0.4909, allocations: 7.378 MB / 483.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4909, allocations: 0 / 483.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.727e-05/0.491, allocations: 16 kB / 483.5 MB, free: 10.33 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001275/0.4922, allocations: 0.7893 MB / 484.3 MB, free: 9.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4923, allocations: 8.031 kB / 484.3 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.4924, allocations: 66.5 kB / 484.4 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.4932, allocations: 445.4 kB / 484.8 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.4932, allocations: 29.69 kB / 484.9 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/0.4933, allocations: 50.08 kB / 484.9 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.494, allocations: 0.5392 MB / 485.5 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.4941, allocations: 4.5 kB / 485.5 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.4941, allocations: 24.64 kB / 485.5 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4941, allocations: 8 kB / 485.5 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.4947, allocations: 393.4 kB / 485.9 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.4973, allocations: 1.835 MB / 487.7 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.4978, allocations: 269.6 kB / 488 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.4978, allocations: 7.984 kB / 488 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003501/0.4982, allocations: 283.6 kB / 488.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.154e-06/0.4982, allocations: 4 kB / 488.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009756/0.4992, allocations: 0.6802 MB / 488.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.4992, allocations: 85.09 kB / 489 MB, free: 5.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.4997, allocations: 447.4 kB / 489.5 MB, free: 5.094 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.4997, allocations: 29.45 kB / 489.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.4998, allocations: 285.9 kB / 489.8 MB, free: 4.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.4999, allocations: 128.4 kB / 489.9 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.4999, allocations: 10.44 kB / 489.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.5, allocations: 367.2 kB / 490.3 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.5003, allocations: 171 kB / 490.4 MB, free: 4.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.5006, allocations: 350.3 kB / 490.8 MB, free: 3.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.5009, allocations: 269.5 kB / 491 MB, free: 3.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5009, allocations: 0 / 491 MB, free: 3.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008912/0.5018, allocations: 0.7441 MB / 491.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.5019, allocations: 41.73 kB / 491.8 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5019, allocations: 4 kB / 491.8 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.5019, allocations: 11.94 kB / 491.8 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.5023, allocations: 138.5 kB / 492 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.5024, allocations: 8 kB / 492 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.5026, allocations: 58.55 kB / 492 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.5027, allocations: 34.73 kB / 492.1 MB, free: 2.875 MB / 346.7 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,R_Bias.TS_in,R.TS_in,R_Bias.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 (70): * Single equations (assignments): 69 * 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.0003172/0.503, allocations: 284.2 kB / 492.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.5031, allocations: 51.39 kB / 492.4 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000731/0.5038, allocations: 0.5387 MB / 492.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5038, allocations: 7.938 kB / 492.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5039, allocations: 0 / 492.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.5039, allocations: 4 kB / 493 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.5042, allocations: 471.6 kB / 493.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.5043, allocations: 8.812 kB / 493.4 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.5047, allocations: 83.27 kB / 493.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.5047, allocations: 3.953 kB / 493.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.5048, allocations: 18.11 kB / 493.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5048, allocations: 4 kB / 493.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5048, allocations: 4 kB / 493.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/0.5057, allocations: 0.7614 MB / 494.3 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.5058, allocations: 120.6 kB / 494.4 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.5059, allocations: 23.06 kB / 494.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.506, allocations: 19.05 kB / 494.5 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.5061, allocations: 19.78 kB / 494.5 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.5061, allocations: 15.44 kB / 494.5 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002859/0.5064, allocations: 342.3 kB / 494.8 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5064, allocations: 0 / 494.8 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004152/0.5069, allocations: 114.1 kB / 494.9 MB, free: 464 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0002198/0.5071, allocations: 152 kB / 495.1 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.5078, allocations: 0.537 MB / 495.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5078, allocations: 0 / 495.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.5081, allocations: 276.8 kB / 495.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.5084, allocations: 37.02 kB / 495.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.5099, allocations: 1.278 MB / 497.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.5104, allocations: 0.9015 MB / 498.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.5107, allocations: 112.1 kB / 498.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.5108, allocations: 31.44 kB / 498.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5108, allocations: 0 / 498.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of Templates: time 0.007873/0.5187, allocations: 3.498 MB / 0.49 GB, free: 9.855 MB / 362.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1)