Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001387/0.001387, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0723/0.0723, allocations: 10.66 MB / 18.73 MB, free: 1.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.3 MB / 226.9 MB, free: 7.957 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008407/0.0008405, allocations: 94.42 kB / 277.3 MB, free: 5.484 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.468e-05, allocations: 4 kB / 333.5 MB, free: 28.49 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08771/0.08774, allocations: 50.01 MB / 383.5 MB, free: 10.44 MB / 282.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4452, allocations: 78.09 MB / 461.6 MB, free: 6.746 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.4454, allocations: 75.11 kB / 461.7 MB, free: 6.707 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01225/0.4577, allocations: 4.758 MB / 466.5 MB, free: 2.617 MB / 330.8 MB Notification: Performance of FrontEnd: time 7.91e-07/0.4577, allocations: 0 / 466.5 MB, free: 2.617 MB / 330.8 MB Notification: Performance of Transformations before backend: time 2.501e-05/0.4577, allocations: 23.94 kB / 466.5 MB, free: 2.594 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0008117/0.4586, allocations: 0.6144 MB / 467.1 MB, free: 1.961 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4586, allocations: 8.031 kB / 467.1 MB, free: 1.953 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.4587, allocations: 47.44 kB / 467.1 MB, free: 1.906 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.4593, allocations: 392.5 kB / 467.5 MB, free: 1.512 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.4593, allocations: 12 kB / 467.5 MB, free: 1.5 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.4593, allocations: 23.75 kB / 467.6 MB, free: 1.48 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004054/0.4598, allocations: 256.8 kB / 467.8 MB, free: 1.309 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.4603, allocations: 376.1 kB / 468.2 MB, free: 0.9844 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4603, allocations: 4 kB / 468.2 MB, free: 0.9805 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.4604, allocations: 4 kB / 468.2 MB, free: 0.9766 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4604, allocations: 8 kB / 468.2 MB, free: 0.9688 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.4625, allocations: 1.464 MB / 469.7 MB, free: 15.64 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.4632, allocations: 204.7 kB / 469.9 MB, free: 15.48 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.4633, allocations: 109 kB / 470 MB, free: 15.4 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.4633, allocations: 4.438 kB / 470 MB, free: 15.4 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.4634, allocations: 30.56 kB / 470 MB, free: 15.36 MB / 346.8 MB Notification: Performance of pre-optimization done (n=25): time 2.815e-06/0.4634, allocations: 4 kB / 470 MB, free: 15.36 MB / 346.8 MB Notification: Performance of matching and sorting (n=25): time 0.0003954/0.4638, allocations: 239.6 kB / 470.2 MB, free: 15.16 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.4638, allocations: 55.34 kB / 470.3 MB, free: 15.09 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.4641, allocations: 286.6 kB / 470.6 MB, free: 14.86 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4641, allocations: 29.7 kB / 470.6 MB, free: 14.82 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4643, allocations: 242.8 kB / 470.8 MB, free: 14.64 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/0.4644, allocations: 93.19 kB / 470.9 MB, free: 14.56 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.4644, allocations: 4 kB / 470.9 MB, free: 14.55 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4645, allocations: 356.8 kB / 471.3 MB, free: 14.21 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.4646, allocations: 85.66 kB / 471.4 MB, free: 14.16 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.4648, allocations: 196.2 kB / 471.6 MB, free: 13.96 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.465, allocations: 133.5 kB / 471.7 MB, free: 13.86 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4651, allocations: 0 / 471.7 MB, free: 13.86 MB / 346.8 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005204/0.4656, allocations: 377.5 kB / 472.1 MB, free: 13.55 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.4656, allocations: 12.03 kB / 472.1 MB, free: 13.54 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4656, allocations: 4 kB / 472.1 MB, free: 13.54 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.4657, allocations: 4 kB / 472.1 MB, free: 13.54 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.4661, allocations: 107 kB / 472.2 MB, free: 13.43 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.354e-05/0.4661, allocations: 8 kB / 472.2 MB, free: 13.43 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.4663, allocations: 31.67 kB / 472.2 MB, free: 13.39 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.4663, allocations: 27.34 kB / 472.2 MB, free: 13.37 MB / 346.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 (51): * Single equations (assignments): 51 * 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.0001643/0.4665, allocations: 133.3 kB / 472.4 MB, free: 13.24 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.4665, allocations: 31.62 kB / 472.4 MB, free: 13.21 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.467, allocations: 295 kB / 472.7 MB, free: 12.98 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4671, allocations: 4 kB / 472.7 MB, free: 12.98 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4671, allocations: 3.984 kB / 472.7 MB, free: 12.97 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4671, allocations: 0 / 472.7 MB, free: 12.97 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.4675, allocations: 343.6 kB / 473 MB, free: 12.66 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.4675, allocations: 3.953 kB / 473 MB, free: 12.66 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.4679, allocations: 79.2 kB / 473.1 MB, free: 12.58 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4679, allocations: 4 kB / 473.1 MB, free: 12.58 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.4679, allocations: 7.984 kB / 473.1 MB, free: 12.57 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.468, allocations: 8 kB / 473.1 MB, free: 12.56 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.468, allocations: 0 / 473.1 MB, free: 12.56 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.4685, allocations: 480.8 kB / 473.6 MB, free: 12.16 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.4686, allocations: 116.5 kB / 473.7 MB, free: 12.03 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.4687, allocations: 7.312 kB / 473.7 MB, free: 12.03 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.4688, allocations: 11.98 kB / 473.7 MB, free: 12.02 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.4689, allocations: 23.91 kB / 473.8 MB, free: 11.99 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.4689, allocations: 10.38 kB / 473.8 MB, free: 11.98 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0001868/0.4691, allocations: 216.8 kB / 474 MB, free: 11.81 MB / 346.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4691, allocations: 0 / 474 MB, free: 11.81 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.0003258/0.4694, allocations: 51.84 kB / 474 MB, free: 11.76 MB / 346.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.0001305/0.4696, allocations: 99.25 kB / 474.1 MB, free: 11.65 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.4699, allocations: 262.8 kB / 474.4 MB, free: 11.46 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.47, allocations: 0 / 474.4 MB, free: 11.46 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.4701, allocations: 114.5 kB / 474.5 MB, free: 11.38 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.4704, allocations: 32.83 kB / 474.5 MB, free: 11.36 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.4713, allocations: 0.6397 MB / 475.2 MB, free: 10.76 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.4718, allocations: 0.8505 MB / 476 MB, free: 9.887 MB / 346.8 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.472, allocations: 75.17 kB / 476.1 MB, free: 9.812 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.4721, allocations: 33.06 kB / 476.1 MB, free: 9.781 MB / 346.8 MB Notification: Performance of SimCode: time 2.91e-07/0.4721, allocations: 0 / 476.1 MB, free: 9.781 MB / 346.8 MB Notification: Performance of Templates: time 0.004958/0.4771, allocations: 1.938 MB / 478.1 MB, free: 7.852 MB / 346.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)