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.00153/0.00153, allocations: 176.7 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.09016/0.09016, 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.539/1.539, allocations: 205.3 MB / 226.9 MB, free: 7.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007639/0.0007639, allocations: 94.41 kB / 277.3 MB, free: 5.449 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.634e-05, allocations: 4 kB / 333.5 MB, free: 28.44 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.08962, allocations: 50 MB / 383.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.4148, allocations: 78.36 MB / 461.9 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.4151, allocations: 74.69 kB / 462 MB, free: 6.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.4304, allocations: 5.321 MB / 467.3 MB, free: 1.789 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4305, allocations: 3.938 kB / 467.3 MB, free: 1.785 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.355e-05/0.4305, allocations: 12 kB / 467.3 MB, free: 1.773 MB / 330.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.001221/0.4317, allocations: 0.6822 MB / 468 MB, free: 1.078 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4318, allocations: 8.031 kB / 468 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.4319, allocations: 55.34 kB / 468 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008725/0.4328, allocations: 464.6 kB / 468.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.4329, allocations: 71.75 kB / 468.6 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/0.4329, allocations: 27.91 kB / 468.6 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004908/0.4334, allocations: 305.3 kB / 468.9 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.4341, allocations: 448.1 kB / 469.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.4341, allocations: 11.95 kB / 469.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.4341, allocations: 0 / 469.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.4342, allocations: 8 kB / 469.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.4367, allocations: 1.605 MB / 471 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/0.4374, allocations: 264.4 kB / 471.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.4376, allocations: 150.8 kB / 471.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.4377, allocations: 12.2 kB / 471.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.4377, allocations: 37.97 kB / 471.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.4377, allocations: 0 / 471.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004984/0.4382, allocations: 287 kB / 471.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.4383, allocations: 51.41 kB / 471.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.4386, allocations: 303.3 kB / 472 MB, free: 13.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.4386, allocations: 29.69 kB / 472.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.4388, allocations: 246.6 kB / 472.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/0.4389, allocations: 128.3 kB / 472.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.4389, allocations: 4 kB / 472.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4391, allocations: 354.8 kB / 472.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.4392, allocations: 107 kB / 472.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.4395, allocations: 223.3 kB / 473.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.4398, allocations: 162.6 kB / 473.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4398, allocations: 0 / 473.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005968/0.4404, allocations: 446.3 kB / 473.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4404, allocations: 6.656 kB / 473.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4404, allocations: 4 kB / 473.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4404, allocations: 8 kB / 473.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.441, allocations: 119.2 kB / 473.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.441, allocations: 15.94 kB / 473.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.4412, allocations: 39.89 kB / 473.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.4412, allocations: 15.44 kB / 473.9 MB, free: 11.9 MB / 346.7 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.0001655/0.4414, allocations: 133.5 kB / 474 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.4415, allocations: 39.44 kB / 474.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005674/0.4421, allocations: 352.5 kB / 474.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4421, allocations: 4 kB / 474.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4421, allocations: 11.95 kB / 474.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4421, allocations: 0 / 474.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.4426, allocations: 391.1 kB / 474.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4426, allocations: 0 / 474.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.4431, allocations: 103.4 kB / 474.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4432, allocations: 4 kB / 474.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.4432, allocations: 11.44 kB / 474.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4432, allocations: 0.9375 kB / 474.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4432, allocations: 0 / 474.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006559/0.4439, allocations: 0.5542 MB / 475.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.444, allocations: 124.4 kB / 475.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.444, allocations: 4 kB / 475.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.4442, allocations: 11.98 kB / 475.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.4443, allocations: 26.83 kB / 475.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.4443, allocations: 8 kB / 475.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000216/0.4445, allocations: 230 kB / 475.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4445, allocations: 0 / 475.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003474/0.4449, allocations: 63.84 kB / 475.9 MB, free: 10.11 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 () * 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.0001303/0.445, allocations: 108.4 kB / 476 MB, free: 9.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.4455, allocations: 319.2 kB / 476.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4455, allocations: 0 / 476.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.4457, allocations: 146.1 kB / 476.5 MB, free: 9.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.4459, allocations: 28.69 kB / 476.5 MB, free: 9.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4471, allocations: 0.7414 MB / 477.3 MB, free: 8.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.4475, allocations: 0.8739 MB / 478.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002484/0.4478, allocations: 87.19 kB / 478.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.4478, allocations: 31.44 kB / 478.3 MB, free: 7.938 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4479, allocations: 0 / 478.3 MB, free: 7.938 MB / 346.7 MB Notification: Performance of Templates: time 0.005858/0.4537, allocations: 2.239 MB / 480.5 MB, free: 5.707 MB / 346.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)