Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 177.3 kB / 16.11 MB, free: 5.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06386/0.06386, allocations: 10.76 MB / 27.62 MB, free: 1.508 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.643/1.643, allocations: 205.4 MB / 236.2 MB, free: 12.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.0008619/0.0008618, allocations: 92.28 kB / 287 MB, free: 12.64 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003824, allocations: 12 kB / 347.6 MB, free: 15.88 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2372, allocations: 49.99 MB / 397.6 MB, free: 34.63 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.3387, allocations: 78.12 MB / 475.7 MB, free: 4.402 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.339, allocations: 75.95 kB / 475.8 MB, free: 4.328 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.3518, allocations: 4.519 MB / 480.3 MB, free: 15.78 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3519, allocations: 4 kB / 480.3 MB, free: 15.77 MB / 362.8 MB Notification: Performance of Transformations before backend: time 4.419e-05/0.3519, allocations: 20.14 kB / 480.4 MB, free: 15.75 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.001271/0.3532, allocations: 0.6432 MB / 481 MB, free: 15.06 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3533, allocations: 8.031 kB / 481 MB, free: 15.05 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.3534, allocations: 52.36 kB / 481.1 MB, free: 15 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.3541, allocations: 388.2 kB / 481.4 MB, free: 14.58 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.3542, allocations: 25.03 kB / 481.5 MB, free: 14.55 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.343e-05/0.3542, allocations: 36.31 kB / 481.5 MB, free: 14.52 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.355, allocations: 422.7 kB / 481.9 MB, free: 14.08 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.355, allocations: 8.125 kB / 481.9 MB, free: 14.07 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.3551, allocations: 19.94 kB / 481.9 MB, free: 14.05 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3551, allocations: 8 kB / 481.9 MB, free: 14.04 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.3556, allocations: 298.4 kB / 482.2 MB, free: 13.75 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.358, allocations: 1.5 MB / 483.7 MB, free: 12.17 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.3584, allocations: 178.9 kB / 483.9 MB, free: 11.98 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.3586, allocations: 112.7 kB / 484 MB, free: 11.87 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3587, allocations: 8 kB / 484 MB, free: 11.86 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3587, allocations: 30.56 kB / 484.1 MB, free: 11.82 MB / 362.8 MB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.3587, allocations: 0 / 484.1 MB, free: 11.82 MB / 362.8 MB Notification: Performance of matching and sorting (n=21): time 0.0006854/0.3594, allocations: 337.9 kB / 484.4 MB, free: 11.49 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3595, allocations: 55.41 kB / 484.4 MB, free: 11.42 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.3599, allocations: 397.5 kB / 484.8 MB, free: 11.02 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.36, allocations: 29.7 kB / 484.9 MB, free: 10.99 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3601, allocations: 235.9 kB / 485.1 MB, free: 10.75 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.06e-05/0.3602, allocations: 82.89 kB / 485.2 MB, free: 10.67 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.3602, allocations: 4 kB / 485.2 MB, free: 10.67 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3604, allocations: 358.7 kB / 485.5 MB, free: 10.31 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.3606, allocations: 96.3 kB / 485.6 MB, free: 10.21 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.3609, allocations: 216.3 kB / 485.8 MB, free: 9.953 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.3623, allocations: 0.5998 MB / 486.4 MB, free: 9.305 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3623, allocations: 0 / 486.4 MB, free: 9.305 MB / 362.8 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006844/0.363, allocations: 420.8 kB / 486.8 MB, free: 8.887 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3631, allocations: 11.94 kB / 486.9 MB, free: 8.875 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3631, allocations: 4 kB / 486.9 MB, free: 8.871 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3631, allocations: 7.984 kB / 486.9 MB, free: 8.863 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.3634, allocations: 95.88 kB / 487 MB, free: 8.77 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.3635, allocations: 7.938 kB / 487 MB, free: 8.762 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3637, allocations: 51.95 kB / 487 MB, free: 8.711 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.3637, allocations: 12 kB / 487 MB, free: 8.699 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 (45): * Single equations (assignments): 45 * 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.0002844/0.364, allocations: 192.2 kB / 487.2 MB, free: 8.504 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.3641, allocations: 39.56 kB / 487.3 MB, free: 8.465 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/0.3646, allocations: 299.2 kB / 487.5 MB, free: 8.164 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3646, allocations: 4 kB / 487.5 MB, free: 8.16 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3647, allocations: 4 kB / 487.6 MB, free: 8.156 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3647, allocations: 0 / 487.6 MB, free: 8.156 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.3651, allocations: 377.3 kB / 487.9 MB, free: 7.738 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3652, allocations: 4 kB / 487.9 MB, free: 7.734 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.3655, allocations: 55.97 kB / 488 MB, free: 7.68 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.3655, allocations: 7.938 kB / 488 MB, free: 7.672 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.3655, allocations: 11.98 kB / 488 MB, free: 7.66 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3655, allocations: 0 / 488 MB, free: 7.66 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3656, allocations: 0 / 488 MB, free: 7.66 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.3662, allocations: 490.6 kB / 488.5 MB, free: 7.164 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.3664, allocations: 112.6 kB / 488.6 MB, free: 7.035 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.3664, allocations: 15.97 kB / 488.6 MB, free: 7.02 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3666, allocations: 19.98 kB / 488.6 MB, free: 7 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.3666, allocations: 11.98 kB / 488.6 MB, free: 6.988 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3666, allocations: 8 kB / 488.6 MB, free: 6.98 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0002851/0.3669, allocations: 271.1 kB / 488.9 MB, free: 6.715 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3669, allocations: 0 / 488.9 MB, free: 6.715 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003583/0.3673, allocations: 67.78 kB / 489 MB, free: 6.648 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.0001401/0.3675, allocations: 111.2 kB / 489.1 MB, free: 6.531 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.368, allocations: 283.7 kB / 489.4 MB, free: 6.254 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.368, allocations: 0.9375 kB / 489.4 MB, free: 6.254 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.3682, allocations: 119.9 kB / 489.5 MB, free: 6.137 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3686, allocations: 33.55 kB / 489.5 MB, free: 6.105 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.37, allocations: 0.8772 MB / 490.4 MB, free: 5.203 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.3706, allocations: 0.8346 MB / 491.2 MB, free: 4.34 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.3708, allocations: 66.92 kB / 491.3 MB, free: 4.27 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.3709, allocations: 31.42 kB / 491.3 MB, free: 4.238 MB / 362.8 MB Notification: Performance of SimCode: time 5.81e-07/0.3709, allocations: 0 / 491.3 MB, free: 4.238 MB / 362.8 MB Notification: Performance of Templates: time 0.006453/0.3774, allocations: 2.037 MB / 493.4 MB, free: 2.203 MB / 362.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)