Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005578/0.005578, allocations: 172.4 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05581/0.05581, allocations: 10.74 MB / 26.59 MB, free: 2.238 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.35/1.35, allocations: 205.4 MB / 235.2 MB, free: 172 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.0008277/0.0008276, allocations: 88.34 kB / 285.9 MB, free: 10.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003231, allocations: 8 kB / 346.4 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1004, allocations: 50 MB / 396.4 MB, free: 3.094 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3273/0.4278, allocations: 79.68 MB / 476.1 MB, free: 16.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.4281, allocations: 78.53 kB / 476.1 MB, free: 16.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01868/0.4468, allocations: 7.322 MB / 483.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4468, allocations: 0 / 483.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.978e-05/0.4469, allocations: 19.94 kB / 483.5 MB, free: 10.38 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.001064/0.4479, allocations: 0.7961 MB / 484.3 MB, free: 9.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.448, allocations: 8.031 kB / 484.3 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.282e-05/0.4481, allocations: 59.34 kB / 484.3 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005915/0.4487, allocations: 438.2 kB / 484.8 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.4487, allocations: 31.62 kB / 484.8 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.4488, allocations: 42.38 kB / 484.9 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.4494, allocations: 0.5285 MB / 485.4 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.4495, allocations: 7.906 kB / 485.4 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.4495, allocations: 26.08 kB / 485.4 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4495, allocations: 8 kB / 485.4 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.4501, allocations: 409.3 kB / 485.8 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.4523, allocations: 1.822 MB / 487.6 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.4528, allocations: 272.2 kB / 487.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.4528, allocations: 7.984 kB / 487.9 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003149/0.4531, allocations: 278.3 kB / 488.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.904e-06/0.4532, allocations: 4 kB / 488.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008836/0.454, allocations: 0.6897 MB / 488.9 MB, free: 5.621 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.4541, allocations: 84.86 kB / 489 MB, free: 5.523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.4545, allocations: 429.2 kB / 489.4 MB, free: 5.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.4545, allocations: 34.83 kB / 489.4 MB, free: 5.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.4546, allocations: 277 kB / 489.7 MB, free: 4.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.4547, allocations: 137.9 kB / 489.8 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.4548, allocations: 10.56 kB / 489.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4549, allocations: 363.7 kB / 490.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.4551, allocations: 178.8 kB / 490.4 MB, free: 4.363 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.4554, allocations: 339.4 kB / 490.7 MB, free: 4.035 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.4558, allocations: 263.4 kB / 490.9 MB, free: 3.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4558, allocations: 4 kB / 491 MB, free: 3.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008763/0.4567, allocations: 0.7553 MB / 491.7 MB, free: 3.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.4567, allocations: 37.69 kB / 491.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.4567, allocations: 4.656 kB / 491.8 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.4568, allocations: 9.312 kB / 491.8 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.4572, allocations: 135.7 kB / 491.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.4572, allocations: 11.98 kB / 491.9 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.4574, allocations: 63.86 kB / 492 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.4575, allocations: 29.81 kB / 492 MB, free: 2.961 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.0003002/0.4578, allocations: 271.7 kB / 492.3 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.4579, allocations: 55.3 kB / 492.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008477/0.4587, allocations: 0.5449 MB / 492.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4587, allocations: 7.938 kB / 492.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4588, allocations: 0 / 492.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.4588, allocations: 3.984 kB / 492.9 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.4592, allocations: 469.4 kB / 493.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4592, allocations: 0.875 kB / 493.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.4596, allocations: 95.75 kB / 493.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.4597, allocations: 3.953 kB / 493.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.4597, allocations: 19.05 kB / 493.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4597, allocations: 4 kB / 493.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4597, allocations: 0.8125 kB / 493.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/0.4606, allocations: 0.7503 MB / 494.2 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.4607, allocations: 131.9 kB / 494.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.4608, allocations: 18.45 kB / 494.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.461, allocations: 23.23 kB / 494.4 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.461, allocations: 19.78 kB / 494.4 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.4611, allocations: 19.92 kB / 494.4 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002787/0.4614, allocations: 325.8 kB / 494.7 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4614, allocations: 0 / 494.7 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.4618, allocations: 125.6 kB / 494.9 MB, free: 0.5273 MB / 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.000238/0.462, allocations: 160.6 kB / 495 MB, free: 380 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000656/0.4627, allocations: 0.5396 MB / 495.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4627, allocations: 0 / 495.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.463, allocations: 274.1 kB / 495.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.4633, allocations: 39.95 kB / 495.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.4648, allocations: 1.255 MB / 497.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.4653, allocations: 0.8898 MB / 498 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002764/0.4656, allocations: 108.1 kB / 498.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/0.4657, allocations: 35.44 kB / 498.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of SimCode: time 2.365e-06/0.4657, allocations: 0 / 498.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of Templates: time 0.008687/0.4744, allocations: 3.496 MB / 0.4899 GB, free: 9.98 MB / 362.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)