Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001836/0.001836, allocations: 172.1 kB / 16.12 MB, free: 5.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.07457/0.07457, allocations: 10.75 MB / 27.62 MB, free: 1.859 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.59/1.59, allocations: 205.4 MB / 236.2 MB, free: 10.18 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007629/0.0007629, allocations: 86.33 kB / 287 MB, free: 12.39 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004428, allocations: 15.98 kB / 347.6 MB, free: 15.63 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2561, allocations: 49.99 MB / 397.6 MB, free: 34.61 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0993/0.3555, allocations: 78.46 MB / 476.1 MB, free: 4.039 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.3558, allocations: 75.95 kB / 476.2 MB, free: 3.965 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01346/0.3693, allocations: 4.736 MB / 480.9 MB, free: 15.2 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3693, allocations: 224 / 480.9 MB, free: 15.2 MB / 362.8 MB Notification: Performance of Transformations before backend: time 4.455e-05/0.3694, allocations: 23.86 kB / 480.9 MB, free: 15.18 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001208/0.3706, allocations: 0.6627 MB / 481.6 MB, free: 14.46 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3706, allocations: 15.97 kB / 481.6 MB, free: 14.45 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.3708, allocations: 48.38 kB / 481.6 MB, free: 14.4 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.3715, allocations: 404.3 kB / 482 MB, free: 13.96 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.512e-05/0.3716, allocations: 88.61 kB / 482.1 MB, free: 13.87 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.3717, allocations: 36.38 kB / 482.2 MB, free: 13.83 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.3724, allocations: 434.4 kB / 482.6 MB, free: 13.38 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.3725, allocations: 7.984 kB / 482.6 MB, free: 13.37 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.3725, allocations: 16 kB / 482.6 MB, free: 13.36 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3725, allocations: 8 kB / 482.6 MB, free: 13.35 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.3731, allocations: 310.3 kB / 482.9 MB, free: 13.04 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.3754, allocations: 1.564 MB / 484.5 MB, free: 11.4 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.3759, allocations: 190.4 kB / 484.7 MB, free: 11.2 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3761, allocations: 124.8 kB / 484.8 MB, free: 11.08 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3761, allocations: 4 kB / 484.8 MB, free: 11.07 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3761, allocations: 34.56 kB / 484.8 MB, free: 11.03 MB / 362.8 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.3761, allocations: 0 / 484.8 MB, free: 11.03 MB / 362.8 MB Notification: Performance of matching and sorting (n=22): time 0.0006635/0.3768, allocations: 358.2 kB / 485.2 MB, free: 10.68 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3769, allocations: 51.41 kB / 485.2 MB, free: 10.61 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.3773, allocations: 393.5 kB / 485.6 MB, free: 10.22 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3773, allocations: 33.69 kB / 485.6 MB, free: 10.18 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.3775, allocations: 235.9 kB / 485.9 MB, free: 9.945 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/0.3776, allocations: 90.73 kB / 486 MB, free: 9.855 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.3776, allocations: 4 kB / 486 MB, free: 9.852 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3777, allocations: 362.7 kB / 486.3 MB, free: 9.488 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.378, allocations: 104.7 kB / 486.4 MB, free: 9.383 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.3782, allocations: 209 kB / 486.6 MB, free: 9.133 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.3797, allocations: 0.6436 MB / 487.3 MB, free: 8.438 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3797, allocations: 0 / 487.3 MB, free: 8.438 MB / 362.8 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006669/0.3804, allocations: 438.5 kB / 487.7 MB, free: 8.004 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3804, allocations: 11.98 kB / 487.7 MB, free: 7.992 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3804, allocations: 0 / 487.7 MB, free: 7.992 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3804, allocations: 8 kB / 487.7 MB, free: 7.984 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.3808, allocations: 95.83 kB / 487.8 MB, free: 7.891 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.3809, allocations: 15.92 kB / 487.8 MB, free: 7.875 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.381, allocations: 39.67 kB / 487.9 MB, free: 7.836 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.3811, allocations: 16 kB / 487.9 MB, free: 7.82 MB / 362.8 MB Warning: Assuming fixed start value for the following 9 variables: ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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.0002451/0.3813, allocations: 204.2 kB / 488.1 MB, free: 7.613 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.3814, allocations: 35.53 kB / 488.1 MB, free: 7.578 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.382, allocations: 316.7 kB / 488.4 MB, free: 7.258 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.382, allocations: 4 kB / 488.4 MB, free: 7.254 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.382, allocations: 3.938 kB / 488.4 MB, free: 7.25 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.382, allocations: 3.984 kB / 488.4 MB, free: 7.246 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.3825, allocations: 393.3 kB / 488.8 MB, free: 6.812 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3825, allocations: 0 / 488.8 MB, free: 6.812 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.3829, allocations: 67.94 kB / 488.9 MB, free: 6.746 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3829, allocations: 0 / 488.9 MB, free: 6.746 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.3829, allocations: 8 kB / 488.9 MB, free: 6.738 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.383, allocations: 4 kB / 488.9 MB, free: 6.734 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.383, allocations: 3.938 kB / 488.9 MB, free: 6.73 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006822/0.3837, allocations: 0.5063 MB / 489.4 MB, free: 6.207 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.3837, allocations: 116.6 kB / 489.5 MB, free: 6.074 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.3838, allocations: 8 kB / 489.5 MB, free: 6.066 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3839, allocations: 15.98 kB / 489.5 MB, free: 6.051 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.384, allocations: 23.91 kB / 489.6 MB, free: 6.027 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.384, allocations: 4 kB / 489.6 MB, free: 6.023 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0002556/0.3843, allocations: 271.1 kB / 489.8 MB, free: 5.758 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3843, allocations: 0 / 489.8 MB, free: 5.758 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003352/0.3846, allocations: 63.84 kB / 489.9 MB, free: 5.695 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0001416/0.3848, allocations: 111.9 kB / 490 MB, free: 5.578 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.3853, allocations: 295.7 kB / 490.3 MB, free: 5.289 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3853, allocations: 0 / 490.3 MB, free: 5.289 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.3855, allocations: 128.8 kB / 490.4 MB, free: 5.164 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3858, allocations: 37.55 kB / 490.5 MB, free: 5.129 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.387, allocations: 0.9236 MB / 491.4 MB, free: 4.184 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.3874, allocations: 0.834 MB / 492.2 MB, free: 3.32 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.3876, allocations: 75.22 kB / 492.3 MB, free: 3.246 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.3877, allocations: 27.44 kB / 492.3 MB, free: 3.219 MB / 362.8 MB Notification: Performance of SimCode: time 3.71e-07/0.3877, allocations: 0 / 492.3 MB, free: 3.219 MB / 362.8 MB Notification: Performance of Templates: time 0.005557/0.3932, allocations: 2.13 MB / 494.4 MB, free: 1.09 MB / 362.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)