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.0009687/0.0009687, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05761/0.05761, allocations: 10.66 MB / 23.92 MB, free: 1.375 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.565/1.565, allocations: 205.2 MB / 232.1 MB, free: 12.82 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.0009475/0.0009477, allocations: 85.84 kB / 282.6 MB, free: 13.6 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 5.612e-05/5.625e-05, allocations: 4 kB / 340.5 MB, free: 3.625 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3436, allocations: 49.98 MB / 390.5 MB, free: 35.73 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.457, allocations: 77.99 MB / 468.5 MB, free: 5.633 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.4574, allocations: 79.94 kB / 468.5 MB, free: 5.555 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01244/0.4698, allocations: 4.503 MB / 473 MB, free: 1.023 MB / 346.8 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4699, allocations: 0 / 473 MB, free: 1.023 MB / 346.8 MB Notification: Performance of Transformations before backend: time 2.944e-05/0.4699, allocations: 16 kB / 473.1 MB, free: 1.008 MB / 346.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.0009377/0.4709, allocations: 0.6118 MB / 473.7 MB, free: 360 kB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/0.4709, allocations: 8.031 kB / 473.7 MB, free: 352 kB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.4711, allocations: 51.34 kB / 473.7 MB, free: 300 kB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007377/0.4718, allocations: 364.6 kB / 474.1 MB, free: 15.89 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.4718, allocations: 28.77 kB / 474.1 MB, free: 15.86 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.4719, allocations: 36 kB / 474.1 MB, free: 15.83 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.4726, allocations: 400 kB / 474.5 MB, free: 15.41 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.4727, allocations: 7.906 kB / 474.5 MB, free: 15.4 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.4727, allocations: 19.78 kB / 474.6 MB, free: 15.38 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.4727, allocations: 8 kB / 474.6 MB, free: 15.38 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.4732, allocations: 270.9 kB / 474.8 MB, free: 15.11 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.4757, allocations: 1.497 MB / 476.3 MB, free: 13.53 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.4761, allocations: 164.5 kB / 476.5 MB, free: 13.36 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.4763, allocations: 97.2 kB / 476.6 MB, free: 13.26 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.4763, allocations: 4.188 kB / 476.6 MB, free: 13.26 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.4764, allocations: 34.75 kB / 476.6 MB, free: 13.21 MB / 362.8 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.4764, allocations: 0 / 476.6 MB, free: 13.21 MB / 362.8 MB Notification: Performance of matching and sorting (n=21): time 0.0004758/0.4768, allocations: 234.1 kB / 476.8 MB, free: 12.98 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.4769, allocations: 59.36 kB / 476.9 MB, free: 12.91 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.4773, allocations: 347.4 kB / 477.2 MB, free: 12.57 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4774, allocations: 29.7 kB / 477.3 MB, free: 12.54 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.4775, allocations: 239.6 kB / 477.5 MB, free: 12.3 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.4776, allocations: 82.81 kB / 477.6 MB, free: 12.21 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.4777, allocations: 12 kB / 477.6 MB, free: 12.2 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4778, allocations: 350.8 kB / 477.9 MB, free: 11.85 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.478, allocations: 80.34 kB / 478 MB, free: 11.77 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.4782, allocations: 202 kB / 478.2 MB, free: 11.52 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.4784, allocations: 117.6 kB / 478.3 MB, free: 11.41 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4784, allocations: 0 / 478.3 MB, free: 11.41 MB / 362.8 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005994/0.4791, allocations: 393.7 kB / 478.7 MB, free: 11.02 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.4791, allocations: 8 kB / 478.7 MB, free: 11.01 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4791, allocations: 4 kB / 478.7 MB, free: 11 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.4791, allocations: 4 kB / 478.7 MB, free: 11 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.4795, allocations: 91.88 kB / 478.8 MB, free: 10.91 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.4795, allocations: 12.41 kB / 478.8 MB, free: 10.9 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.4797, allocations: 51.62 kB / 478.9 MB, free: 10.85 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.4798, allocations: 12 kB / 478.9 MB, free: 10.84 MB / 362.8 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(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 () * 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.0001951/0.48, allocations: 135.4 kB / 479 MB, free: 10.7 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.48, allocations: 35.53 kB / 479.1 MB, free: 10.66 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.4805, allocations: 276.5 kB / 479.3 MB, free: 10.39 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4806, allocations: 4 kB / 479.3 MB, free: 10.39 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4806, allocations: 0 / 479.3 MB, free: 10.39 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.4806, allocations: 3.984 kB / 479.3 MB, free: 10.39 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.4811, allocations: 385.2 kB / 479.7 MB, free: 9.961 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4811, allocations: 0 / 479.7 MB, free: 9.961 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.4814, allocations: 55.97 kB / 479.8 MB, free: 9.906 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4814, allocations: 3.984 kB / 479.8 MB, free: 9.902 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.4815, allocations: 12 kB / 479.8 MB, free: 9.891 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4815, allocations: 0 / 479.8 MB, free: 9.891 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4815, allocations: 0 / 479.8 MB, free: 9.891 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/0.4821, allocations: 458.7 kB / 480.2 MB, free: 9.426 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.4822, allocations: 112.6 kB / 480.3 MB, free: 9.297 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.4823, allocations: 8 kB / 480.4 MB, free: 9.289 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4824, allocations: 15.98 kB / 480.4 MB, free: 9.273 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.4825, allocations: 19.97 kB / 480.4 MB, free: 9.254 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4825, allocations: 8.188 kB / 480.4 MB, free: 9.246 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0002787/0.4828, allocations: 262.1 kB / 480.7 MB, free: 8.988 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4828, allocations: 3.938 kB / 480.7 MB, free: 8.984 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003222/0.4831, allocations: 59.84 kB / 480.7 MB, free: 8.926 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 () * 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.0001705/0.4833, allocations: 110 kB / 480.8 MB, free: 8.809 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0004505/0.4838, allocations: 251.9 kB / 481.1 MB, free: 8.562 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4838, allocations: 0 / 481.1 MB, free: 8.562 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.4839, allocations: 99.91 kB / 481.2 MB, free: 8.465 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.4842, allocations: 37.5 kB / 481.2 MB, free: 8.426 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.4853, allocations: 0.6034 MB / 481.8 MB, free: 7.793 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.4858, allocations: 0.8463 MB / 482.7 MB, free: 6.922 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.486, allocations: 70.92 kB / 482.7 MB, free: 6.855 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.4861, allocations: 27.44 kB / 482.8 MB, free: 6.828 MB / 362.8 MB Notification: Performance of SimCode: time 2.4e-07/0.4861, allocations: 0 / 482.8 MB, free: 6.828 MB / 362.8 MB Notification: Performance of Templates: time 0.005684/0.4918, allocations: 2.055 MB / 484.8 MB, free: 4.801 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)