Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, 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.06304/0.06304, allocations: 10.66 MB / 18.74 MB, free: 1.316 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.431/1.431, allocations: 205.3 MB / 226.9 MB, free: 7.938 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.0007855/0.0007855, allocations: 93.25 kB / 277.3 MB, free: 5.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.378e-05/1.38e-05, allocations: 0 / 333.5 MB, free: 28.45 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 50 MB / 383.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.4471, allocations: 79.23 MB / 462.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.4475, allocations: 82.58 kB / 462.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02094/0.4685, allocations: 7.305 MB / 470.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4685, allocations: 0 / 470.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.72e-05/0.4686, allocations: 16 kB / 470.2 MB, free: 15.29 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001563/0.4702, allocations: 0.7392 MB / 470.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4702, allocations: 8.031 kB / 470.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.4704, allocations: 63.23 kB / 471 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000768/0.4711, allocations: 437.2 kB / 471.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.4712, allocations: 12 kB / 471.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.4712, allocations: 26.69 kB / 471.4 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005801/0.4718, allocations: 356.2 kB / 471.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008142/0.4727, allocations: 479.8 kB / 472.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.4727, allocations: 11.84 kB / 472.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.4728, allocations: 0 / 472.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4728, allocations: 12 kB / 472.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.4754, allocations: 1.734 MB / 474 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.476, allocations: 251.8 kB / 474.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.4762, allocations: 175.2 kB / 474.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.4763, allocations: 7.984 kB / 474.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.4766, allocations: 249.7 kB / 474.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.934e-06/0.4766, allocations: 0 / 474.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007663/0.4774, allocations: 413.5 kB / 475.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.4775, allocations: 81.11 kB / 475.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.4779, allocations: 374.7 kB / 475.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.478, allocations: 28.64 kB / 475.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.4782, allocations: 280.5 kB / 475.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.4783, allocations: 144.6 kB / 476 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.4784, allocations: 0 / 476 MB, free: 10.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4785, allocations: 359.3 kB / 476.3 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.4788, allocations: 158.7 kB / 476.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.4791, allocations: 317.2 kB / 476.8 MB, free: 9.402 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.4795, allocations: 200.8 kB / 477 MB, free: 9.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4795, allocations: 0 / 477 MB, free: 9.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009685/0.4805, allocations: 0.6544 MB / 477.6 MB, free: 8.723 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.4805, allocations: 38.34 kB / 477.7 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.4805, allocations: 4 kB / 477.7 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.4806, allocations: 16 kB / 477.7 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.4811, allocations: 131.6 kB / 477.8 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4811, allocations: 11.94 kB / 477.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.4813, allocations: 51.5 kB / 477.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/0.4814, allocations: 26.81 kB / 477.9 MB, free: 8.453 MB / 346.7 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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.000296/0.4817, allocations: 176.3 kB / 478.1 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4818, allocations: 55.38 kB / 478.1 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007951/0.4826, allocations: 479.9 kB / 478.6 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.4827, allocations: 0 / 478.6 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4827, allocations: 8 kB / 478.6 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.4827, allocations: 3.984 kB / 478.6 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.4831, allocations: 411.6 kB / 479 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4831, allocations: 0 / 479 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.4836, allocations: 86.88 kB / 479.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.4836, allocations: 0 / 479.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.4837, allocations: 15.11 kB / 479.1 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4837, allocations: 7.891 kB / 479.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4837, allocations: 0 / 479.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.4846, allocations: 0.6787 MB / 479.8 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.4847, allocations: 116.6 kB / 479.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.4847, allocations: 15.55 kB / 479.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.4849, allocations: 11.98 kB / 479.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.485, allocations: 23.48 kB / 480 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.485, allocations: 15.5 kB / 480 MB, free: 6.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002737/0.4853, allocations: 276.5 kB / 480.2 MB, free: 6.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4853, allocations: 4 kB / 480.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004896/0.4858, allocations: 103.7 kB / 480.4 MB, free: 6.328 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0002504/0.4861, allocations: 142.9 kB / 480.5 MB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.4869, allocations: 0.4899 MB / 481 MB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4869, allocations: 4.375 kB / 481 MB, free: 5.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.4872, allocations: 259 kB / 481.2 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.4874, allocations: 36.02 kB / 481.3 MB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4889, allocations: 0.8855 MB / 482.2 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.4894, allocations: 0.8981 MB / 483.1 MB, free: 3.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000278/0.4897, allocations: 107.3 kB / 483.2 MB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.4898, allocations: 31.44 kB / 483.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4898, allocations: 0 / 483.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of Templates: time 0.007972/0.4978, allocations: 3.153 MB / 486.3 MB, free: 0.5625 MB / 346.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1)