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.000988/0.0009879, allocations: 179.2 kB / 16.12 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08266/0.08266, allocations: 10.76 MB / 27.63 MB, free: 1.473 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.51/1.51, allocations: 205.4 MB / 236.2 MB, free: 10.15 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.0007542/0.0007541, allocations: 78.39 kB / 287 MB, free: 12.38 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 12 kB / 347.6 MB, free: 15.61 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2743, allocations: 49.99 MB / 397.6 MB, free: 34.59 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3818, allocations: 78.84 MB / 476.5 MB, free: 3.645 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.3822, allocations: 83.94 kB / 476.5 MB, free: 3.562 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01526/0.3974, allocations: 5.392 MB / 481.9 MB, free: 14.14 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3975, allocations: 0 / 481.9 MB, free: 14.14 MB / 362.8 MB Notification: Performance of Transformations before backend: time 3.241e-05/0.3975, allocations: 16 kB / 481.9 MB, free: 14.12 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.0012/0.3987, allocations: 0.7213 MB / 482.7 MB, free: 13.35 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3988, allocations: 8.031 kB / 482.7 MB, free: 13.34 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.3989, allocations: 56.28 kB / 482.7 MB, free: 13.29 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008683/0.3998, allocations: 486.6 kB / 483.2 MB, free: 12.77 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.3999, allocations: 80.97 kB / 483.3 MB, free: 12.68 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.01e-05/0.4, allocations: 44.38 kB / 483.3 MB, free: 12.64 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/0.4007, allocations: 0.5203 MB / 483.9 MB, free: 12.07 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.4008, allocations: 7.844 kB / 483.9 MB, free: 12.06 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.4008, allocations: 16 kB / 483.9 MB, free: 12.04 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.4009, allocations: 12 kB / 483.9 MB, free: 12.03 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/0.4015, allocations: 363.7 kB / 484.2 MB, free: 11.68 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.404, allocations: 1.686 MB / 485.9 MB, free: 9.906 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.4048, allocations: 295.3 kB / 486.2 MB, free: 9.609 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.4051, allocations: 177.3 kB / 486.4 MB, free: 9.434 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.4052, allocations: 12.25 kB / 486.4 MB, free: 9.422 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.4052, allocations: 38.78 kB / 486.4 MB, free: 9.375 MB / 362.8 MB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.4052, allocations: 0 / 486.4 MB, free: 9.375 MB / 362.8 MB Notification: Performance of matching and sorting (n=33): time 0.0008045/0.406, allocations: 463 kB / 486.9 MB, free: 8.918 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.4061, allocations: 59.39 kB / 486.9 MB, free: 8.848 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.4065, allocations: 421.8 kB / 487.4 MB, free: 8.426 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.4066, allocations: 29.7 kB / 487.4 MB, free: 8.391 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.4068, allocations: 244 kB / 487.6 MB, free: 8.148 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.4069, allocations: 130.1 kB / 487.8 MB, free: 8.02 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.4069, allocations: 8 kB / 487.8 MB, free: 8.012 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4071, allocations: 362.8 kB / 488.1 MB, free: 7.648 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.4073, allocations: 128.9 kB / 488.2 MB, free: 7.523 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.4077, allocations: 254.7 kB / 488.5 MB, free: 7.227 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.4097, allocations: 0.8137 MB / 489.3 MB, free: 6.363 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4097, allocations: 0 / 489.3 MB, free: 6.363 MB / 362.8 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00089/0.4106, allocations: 0.5157 MB / 489.8 MB, free: 5.84 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.4107, allocations: 11.94 kB / 489.8 MB, free: 5.828 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4107, allocations: 7.938 kB / 489.8 MB, free: 5.82 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4107, allocations: 4 kB / 489.8 MB, free: 5.816 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.4112, allocations: 128.3 kB / 490 MB, free: 5.691 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.4113, allocations: 8 kB / 490 MB, free: 5.684 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.4115, allocations: 55.42 kB / 490 MB, free: 5.629 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.4115, allocations: 20 kB / 490.1 MB, free: 5.609 MB / 362.8 MB Warning: Assuming fixed start value for the following 9 variables: 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 ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.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.0002802/0.4118, allocations: 204.2 kB / 490.2 MB, free: 5.402 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.4119, allocations: 51.36 kB / 490.3 MB, free: 5.352 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007297/0.4126, allocations: 405.5 kB / 490.7 MB, free: 4.949 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4126, allocations: 4 kB / 490.7 MB, free: 4.945 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4126, allocations: 4 kB / 490.7 MB, free: 4.941 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4126, allocations: 3.984 kB / 490.7 MB, free: 4.938 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.4132, allocations: 437.2 kB / 491.1 MB, free: 4.461 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4132, allocations: 4 kB / 491.1 MB, free: 4.457 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.4137, allocations: 103.9 kB / 491.2 MB, free: 4.355 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4137, allocations: 7.875 kB / 491.2 MB, free: 4.348 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.4138, allocations: 12 kB / 491.3 MB, free: 4.336 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.4138, allocations: 4 kB / 491.3 MB, free: 4.332 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4138, allocations: 3.938 kB / 491.3 MB, free: 4.328 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.4147, allocations: 0.6257 MB / 491.9 MB, free: 3.684 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.4148, allocations: 136.3 kB / 492 MB, free: 3.531 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.4149, allocations: 8 kB / 492 MB, free: 3.523 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4151, allocations: 15.98 kB / 492 MB, free: 3.508 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.4151, allocations: 23.97 kB / 492.1 MB, free: 3.484 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.4152, allocations: 15.92 kB / 492.1 MB, free: 3.469 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0002902/0.4155, allocations: 287.1 kB / 492.4 MB, free: 3.188 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4155, allocations: 0 / 492.4 MB, free: 3.188 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003468/0.4158, allocations: 79.84 kB / 492.4 MB, free: 3.109 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 () * 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.0001497/0.416, allocations: 108.1 kB / 492.6 MB, free: 2.996 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0006418/0.4166, allocations: 383.1 kB / 492.9 MB, free: 2.621 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4167, allocations: 0 / 492.9 MB, free: 2.621 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.4169, allocations: 168.7 kB / 493.1 MB, free: 2.457 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.4173, allocations: 45.55 kB / 493.1 MB, free: 2.414 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.4188, allocations: 1.089 MB / 494.2 MB, free: 1.297 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.4193, allocations: 0.8547 MB / 495.1 MB, free: 428 kB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.4196, allocations: 87.36 kB / 495.2 MB, free: 340 kB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.799e-05/0.4197, allocations: 39.44 kB / 495.2 MB, free: 300 kB / 362.8 MB Notification: Performance of SimCode: time 2.004e-06/0.4197, allocations: 0 / 495.2 MB, free: 300 kB / 362.8 MB Notification: Performance of Templates: time 0.00636/0.4261, allocations: 2.585 MB / 497.8 MB, free: 13.71 MB / 378.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)