Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005249/0.005249, allocations: 172 kB / 15.11 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.05537/0.05537, 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.438/1.438, allocations: 205.4 MB / 235.2 MB, free: 168 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.0008778/0.0008781, allocations: 81.42 kB / 285.9 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 8.219 kB / 346.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 49.99 MB / 396.4 MB, free: 3.082 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2964/0.4087, allocations: 78.81 MB / 475.2 MB, free: 16.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.409, allocations: 79.27 kB / 475.3 MB, free: 16.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01368/0.4227, allocations: 5.376 MB / 480.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4227, allocations: 0 / 480.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.4228, allocations: 12 kB / 480.7 MB, free: 12.87 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001036/0.4238, allocations: 0.7336 MB / 481.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.4239, allocations: 8.031 kB / 481.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.424, allocations: 55.34 kB / 481.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.4248, allocations: 469 kB / 481.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/0.4248, allocations: 84.95 kB / 482 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.4249, allocations: 41.94 kB / 482 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.4255, allocations: 0.5095 MB / 482.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.4256, allocations: 7.906 kB / 482.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.4256, allocations: 20.45 kB / 482.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4256, allocations: 12 kB / 482.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.4262, allocations: 362.6 kB / 482.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.4284, allocations: 1.692 MB / 484.6 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.4291, allocations: 295.6 kB / 484.9 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.4292, allocations: 8.219 kB / 484.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.4292, allocations: 41.28 kB / 485 MB, free: 8.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.4292, allocations: 0 / 485 MB, free: 8.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006853/0.4299, allocations: 463.5 kB / 485.4 MB, free: 8.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.4299, allocations: 55.34 kB / 485.5 MB, free: 8.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.4302, allocations: 371.4 kB / 485.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4303, allocations: 36.77 kB / 485.9 MB, free: 8.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4304, allocations: 251 kB / 486.1 MB, free: 8.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.4304, allocations: 131.1 kB / 486.3 MB, free: 7.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.4305, allocations: 5.625 kB / 486.3 MB, free: 7.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.4305, allocations: 357.5 kB / 486.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.4307, allocations: 130.2 kB / 486.7 MB, free: 7.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.431, allocations: 252.4 kB / 487 MB, free: 7.262 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.4312, allocations: 175 kB / 487.2 MB, free: 7.148 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4312, allocations: 0 / 487.2 MB, free: 7.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006334/0.4319, allocations: 0.5139 MB / 487.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4319, allocations: 8 kB / 487.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4319, allocations: 4 kB / 487.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4319, allocations: 8 kB / 487.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.4325, allocations: 126.2 kB / 487.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4325, allocations: 4.375 kB / 487.8 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.4327, allocations: 59.83 kB / 487.9 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.4327, allocations: 18.69 kB / 487.9 MB, free: 6.539 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 (61): * Single equations (assignments): 61 * 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.0002433/0.433, allocations: 206.1 kB / 488.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.433, allocations: 43.44 kB / 488.1 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/0.4337, allocations: 413.3 kB / 488.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4337, allocations: 7.953 kB / 488.5 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4337, allocations: 3.938 kB / 488.6 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4337, allocations: 3.984 kB / 488.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.4341, allocations: 448.1 kB / 489 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4341, allocations: 0.5 kB / 489 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.4346, allocations: 98.67 kB / 489.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4347, allocations: 8 kB / 489.1 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.4347, allocations: 15.19 kB / 489.1 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4347, allocations: 0 / 489.1 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4347, allocations: 3.953 kB / 489.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.4354, allocations: 0.6279 MB / 489.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.4355, allocations: 120.5 kB / 489.9 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.4355, allocations: 10.94 kB / 489.9 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.4357, allocations: 20.55 kB / 489.9 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.4358, allocations: 27.86 kB / 489.9 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.4358, allocations: 11.44 kB / 489.9 MB, free: 4.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002146/0.436, allocations: 292.8 kB / 490.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.436, allocations: 0 / 490.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.4364, allocations: 78.44 kB / 490.3 MB, free: 4.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.0001152/0.4365, allocations: 116.1 kB / 490.4 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005069/0.437, allocations: 375.2 kB / 490.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.437, allocations: 0 / 490.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.4373, allocations: 166 kB / 490.9 MB, free: 3.984 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.4375, allocations: 39.09 kB / 491 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4387, allocations: 1.087 MB / 492.1 MB, free: 2.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.4389, allocations: 0.8661 MB / 492.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.4392, allocations: 91.34 kB / 493 MB, free: 1.961 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.4392, allocations: 31.44 kB / 493 MB, free: 1.93 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4393, allocations: 0 / 493 MB, free: 1.93 MB / 346.7 MB Notification: Performance of Templates: time 0.005646/0.4449, allocations: 2.573 MB / 495.6 MB, free: 15.38 MB / 362.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1)