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.006514/0.006514, allocations: 169.5 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.05632/0.05632, allocations: 10.74 MB / 26.59 MB, free: 2.266 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.402/1.402, allocations: 205.4 MB / 235.2 MB, free: 184 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.0008293/0.0008294, allocations: 85.98 kB / 285.9 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 8 kB / 346.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1031, allocations: 49.99 MB / 396.4 MB, free: 3.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.316/0.4192, allocations: 78.43 MB / 474.8 MB, free: 17.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.4195, allocations: 76.41 kB / 474.9 MB, free: 17.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01171/0.4312, allocations: 4.725 MB / 479.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4312, allocations: 0 / 479.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.4313, allocations: 19.66 kB / 479.6 MB, free: 13.86 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008243/0.4321, allocations: 0.6706 MB / 480.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4321, allocations: 8.031 kB / 480.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/0.4322, allocations: 47.44 kB / 480.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.4328, allocations: 396.7 kB / 480.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.4329, allocations: 77.69 kB / 480.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.433, allocations: 37.55 kB / 480.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.4335, allocations: 435 kB / 481.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4336, allocations: 7.906 kB / 481.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.4336, allocations: 19.67 kB / 481.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.4336, allocations: 8 kB / 481.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.4341, allocations: 304.8 kB / 481.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.436, allocations: 1.572 MB / 483.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.4363, allocations: 190.3 kB / 483.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.4364, allocations: 8.188 kB / 483.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.4364, allocations: 34.06 kB / 483.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.4364, allocations: 0 / 483.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005685/0.437, allocations: 353 kB / 483.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.437, allocations: 51.41 kB / 483.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.4373, allocations: 353 kB / 484.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.4373, allocations: 29.64 kB / 484.2 MB, free: 9.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.4374, allocations: 232 kB / 484.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.4375, allocations: 98.59 kB / 484.5 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.4375, allocations: 3.938 kB / 484.5 MB, free: 9.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.4376, allocations: 353.7 kB / 484.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.4377, allocations: 109.1 kB / 485 MB, free: 9.082 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.4379, allocations: 216.9 kB / 485.2 MB, free: 8.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.4381, allocations: 135.5 kB / 485.3 MB, free: 8.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4381, allocations: 4 kB / 485.3 MB, free: 8.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005129/0.4387, allocations: 442.5 kB / 485.8 MB, free: 8.422 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4387, allocations: 8.469 kB / 485.8 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4387, allocations: 4 kB / 485.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4387, allocations: 12 kB / 485.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.4391, allocations: 103.7 kB / 485.9 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.4391, allocations: 4 kB / 485.9 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.4392, allocations: 47.45 kB / 485.9 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.4393, allocations: 15.81 kB / 485.9 MB, free: 8.242 MB / 346.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] 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 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.0001876/0.4395, allocations: 195.8 kB / 486.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.4395, allocations: 39.52 kB / 486.2 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.44, allocations: 311.9 kB / 486.5 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.44, allocations: 7.984 kB / 486.5 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.44, allocations: 3.953 kB / 486.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.44, allocations: 0 / 486.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.4403, allocations: 390.5 kB / 486.9 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4403, allocations: 7.922 kB / 486.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.4408, allocations: 71.89 kB / 486.9 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4408, allocations: 0 / 486.9 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.4408, allocations: 10.69 kB / 487 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4408, allocations: 3.25 kB / 487 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4408, allocations: 0 / 487 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.4414, allocations: 0.5161 MB / 487.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.4414, allocations: 112.6 kB / 487.6 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.4415, allocations: 11.86 kB / 487.6 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.4416, allocations: 15.86 kB / 487.6 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.4417, allocations: 7.984 kB / 487.6 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4417, allocations: 11.19 kB / 487.6 MB, free: 6.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.4419, allocations: 275.9 kB / 487.9 MB, free: 6.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4419, allocations: 0 / 487.9 MB, free: 6.535 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000302/0.4422, allocations: 66.92 kB / 488 MB, free: 6.48 MB / 346.7 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.0001101/0.4423, allocations: 112.6 kB / 488.1 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004092/0.4428, allocations: 294.3 kB / 488.4 MB, free: 6.145 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4428, allocations: 0 / 488.4 MB, free: 6.145 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.4429, allocations: 121 kB / 488.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.4432, allocations: 33.33 kB / 488.5 MB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.4442, allocations: 0.9339 MB / 489.5 MB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.4444, allocations: 0.8407 MB / 490.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.4446, allocations: 79.22 kB / 490.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.4447, allocations: 27.44 kB / 490.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4447, allocations: 0 / 490.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of Templates: time 0.004621/0.4493, allocations: 2.126 MB / 492.5 MB, free: 2.078 MB / 346.7 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)