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.001143/0.001143, allocations: 174.7 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.0703/0.0703, allocations: 10.65 MB / 23.91 MB, free: 1.379 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.791/1.791, allocations: 205.2 MB / 232.1 MB, free: 12.77 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.0008666/0.0008667, allocations: 97.19 kB / 282.6 MB, free: 13.58 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.814e-05, allocations: 4 kB / 340.5 MB, free: 3.613 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.338, allocations: 49.98 MB / 390.5 MB, free: 35.75 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.4474, allocations: 78.73 MB / 469.2 MB, free: 4.914 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4478, allocations: 75.95 kB / 469.3 MB, free: 4.84 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.0158/0.4636, allocations: 5.344 MB / 474.6 MB, free: 15.46 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4636, allocations: 0 / 474.6 MB, free: 15.46 MB / 362.8 MB Notification: Performance of Transformations before backend: time 3.216e-05/0.4637, allocations: 16 kB / 474.6 MB, free: 15.45 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001193/0.4649, allocations: 0.678 MB / 475.3 MB, free: 14.73 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4649, allocations: 8.031 kB / 475.3 MB, free: 14.72 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.4651, allocations: 55.34 kB / 475.4 MB, free: 14.66 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009427/0.466, allocations: 467.9 kB / 475.8 MB, free: 14.16 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.2e-05/0.4661, allocations: 80.19 kB / 475.9 MB, free: 14.07 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.4662, allocations: 44 kB / 476 MB, free: 14.03 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.467, allocations: 0.4932 MB / 476.4 MB, free: 13.49 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.467, allocations: 3.906 kB / 476.4 MB, free: 13.48 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.467, allocations: 19.95 kB / 476.5 MB, free: 13.46 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.4671, allocations: 19.98 kB / 476.5 MB, free: 13.45 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.4676, allocations: 326.9 kB / 476.8 MB, free: 13.12 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.4703, allocations: 1.689 MB / 478.5 MB, free: 11.35 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000797/0.4712, allocations: 275.4 kB / 478.8 MB, free: 11.07 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.4714, allocations: 157.4 kB / 478.9 MB, free: 10.92 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.4715, allocations: 4.281 kB / 478.9 MB, free: 10.91 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4715, allocations: 38.84 kB / 479 MB, free: 10.87 MB / 362.8 MB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/0.4715, allocations: 0 / 479 MB, free: 10.87 MB / 362.8 MB Notification: Performance of matching and sorting (n=33): time 0.0005592/0.4721, allocations: 323 kB / 479.3 MB, free: 10.55 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.4721, allocations: 59.34 kB / 479.3 MB, free: 10.48 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.4725, allocations: 371 kB / 479.7 MB, free: 10.11 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.4726, allocations: 33.7 kB / 479.7 MB, free: 10.07 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.4728, allocations: 240 kB / 480 MB, free: 9.828 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.4729, allocations: 126.2 kB / 480.1 MB, free: 9.703 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.4729, allocations: 12 kB / 480.1 MB, free: 9.691 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4731, allocations: 358.8 kB / 480.4 MB, free: 9.332 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.4733, allocations: 113 kB / 480.6 MB, free: 9.223 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.4736, allocations: 243.6 kB / 480.8 MB, free: 8.934 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.4739, allocations: 161.5 kB / 481 MB, free: 8.773 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4739, allocations: 0 / 481 MB, free: 8.773 MB / 362.8 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007013/0.4746, allocations: 498.1 kB / 481.4 MB, free: 8.281 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4746, allocations: 4.938 kB / 481.4 MB, free: 8.277 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4746, allocations: 7.953 kB / 481.5 MB, free: 8.27 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4746, allocations: 8 kB / 481.5 MB, free: 8.262 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.4752, allocations: 124.3 kB / 481.6 MB, free: 8.141 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.4752, allocations: 11.98 kB / 481.6 MB, free: 8.129 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.4754, allocations: 51.58 kB / 481.6 MB, free: 8.078 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.4754, allocations: 20 kB / 481.7 MB, free: 8.059 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 (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.00017/0.4756, allocations: 138.3 kB / 481.8 MB, free: 7.914 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.4757, allocations: 51.36 kB / 481.8 MB, free: 7.863 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006799/0.4764, allocations: 389.7 kB / 482.2 MB, free: 7.477 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.4764, allocations: 11.94 kB / 482.2 MB, free: 7.465 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.4764, allocations: 3.984 kB / 482.2 MB, free: 7.461 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4764, allocations: 0 / 482.2 MB, free: 7.461 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.477, allocations: 449.1 kB / 482.7 MB, free: 6.973 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.477, allocations: 4 kB / 482.7 MB, free: 6.969 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.4775, allocations: 99.88 kB / 482.8 MB, free: 6.871 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4775, allocations: 0 / 482.8 MB, free: 6.871 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.4776, allocations: 11.98 kB / 482.8 MB, free: 6.859 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4776, allocations: 3.953 kB / 482.8 MB, free: 6.855 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4776, allocations: 4 kB / 482.8 MB, free: 6.852 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.4784, allocations: 0.5782 MB / 483.4 MB, free: 6.254 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.4785, allocations: 124.5 kB / 483.5 MB, free: 6.113 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.4785, allocations: 11.98 kB / 483.5 MB, free: 6.102 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.4787, allocations: 19.94 kB / 483.5 MB, free: 6.082 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.4788, allocations: 23.91 kB / 483.6 MB, free: 6.059 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.4788, allocations: 12 kB / 483.6 MB, free: 6.047 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0002836/0.4791, allocations: 281.2 kB / 483.8 MB, free: 5.773 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4791, allocations: 0 / 483.8 MB, free: 5.773 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003272/0.4794, allocations: 75.84 kB / 483.9 MB, free: 5.699 MB / 362.8 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 () * 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.0001674/0.4796, allocations: 122 kB / 484 MB, free: 5.57 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0005162/0.4801, allocations: 339.4 kB / 484.4 MB, free: 5.238 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4802, allocations: 0.9375 kB / 484.4 MB, free: 5.238 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.4804, allocations: 156.2 kB / 484.5 MB, free: 5.086 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.4807, allocations: 38.58 kB / 484.6 MB, free: 5.051 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.4818, allocations: 0.7706 MB / 485.3 MB, free: 4.262 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.4822, allocations: 0.8664 MB / 486.2 MB, free: 3.367 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0002569/0.4825, allocations: 83.36 kB / 486.3 MB, free: 3.285 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.4826, allocations: 39.42 kB / 486.3 MB, free: 3.246 MB / 362.8 MB Notification: Performance of SimCode: time 3.51e-07/0.4826, allocations: 0 / 486.3 MB, free: 3.246 MB / 362.8 MB Notification: Performance of Templates: time 0.00634/0.489, allocations: 2.578 MB / 488.9 MB, free: 0.6953 MB / 362.8 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)