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.001543/0.001543, 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.05913/0.05913, 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.761/1.761, allocations: 205.2 MB / 232.1 MB, free: 12.83 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.0009156/0.0009156, allocations: 93.2 kB / 282.6 MB, free: 13.59 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.717e-05, allocations: 0 / 340.5 MB, free: 3.629 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3065, allocations: 49.99 MB / 390.5 MB, free: 35.74 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.4118, allocations: 79.6 MB / 470.1 MB, free: 4.027 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.4121, allocations: 71.97 kB / 470.1 MB, free: 3.957 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.0212/0.4333, allocations: 7.341 MB / 477.5 MB, free: 12.58 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4333, allocations: 4 kB / 477.5 MB, free: 12.57 MB / 362.8 MB Notification: Performance of Transformations before backend: time 3.237e-05/0.4334, allocations: 16.16 kB / 477.5 MB, free: 12.56 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001185/0.4346, allocations: 0.7379 MB / 478.2 MB, free: 11.77 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4346, allocations: 8.031 kB / 478.2 MB, free: 11.76 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.4347, allocations: 63.25 kB / 478.3 MB, free: 11.7 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.4356, allocations: 439.9 kB / 478.7 MB, free: 11.23 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.4356, allocations: 32.78 kB / 478.8 MB, free: 11.2 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.391e-05/0.4357, allocations: 47.98 kB / 478.8 MB, free: 11.15 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/0.4366, allocations: 0.5092 MB / 479.3 MB, free: 10.61 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.4366, allocations: 7.906 kB / 479.3 MB, free: 10.6 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.4367, allocations: 23.95 kB / 479.4 MB, free: 10.58 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.4367, allocations: 15.98 kB / 479.4 MB, free: 10.56 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.4373, allocations: 374.9 kB / 479.7 MB, free: 10.19 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.4403, allocations: 1.827 MB / 481.6 MB, free: 8.285 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.4408, allocations: 271.1 kB / 481.8 MB, free: 8.012 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.4411, allocations: 184.6 kB / 482 MB, free: 7.828 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.4412, allocations: 4 kB / 482 MB, free: 7.824 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004063/0.4416, allocations: 264.9 kB / 482.3 MB, free: 7.547 MB / 362.8 MB Notification: Performance of pre-optimization done (n=36): time 2.756e-06/0.4416, allocations: 0 / 482.3 MB, free: 7.547 MB / 362.8 MB Notification: Performance of matching and sorting (n=36): time 0.0008196/0.4424, allocations: 460.8 kB / 482.7 MB, free: 7.078 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.4425, allocations: 89.11 kB / 482.8 MB, free: 6.973 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.443, allocations: 427.8 kB / 483.2 MB, free: 6.551 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.4431, allocations: 33.7 kB / 483.3 MB, free: 6.512 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.4433, allocations: 280 kB / 483.5 MB, free: 6.23 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.4435, allocations: 146 kB / 483.7 MB, free: 6.086 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.4435, allocations: 8 kB / 483.7 MB, free: 6.078 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4437, allocations: 362.8 kB / 484 MB, free: 5.715 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.4439, allocations: 161.3 kB / 484.2 MB, free: 5.559 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.4443, allocations: 341.2 kB / 484.5 MB, free: 5.164 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.4447, allocations: 251.2 kB / 484.8 MB, free: 4.906 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4447, allocations: 4 kB / 484.8 MB, free: 4.902 MB / 362.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001039/0.4458, allocations: 0.7228 MB / 485.5 MB, free: 4.168 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.4458, allocations: 37.69 kB / 485.5 MB, free: 4.125 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4458, allocations: 8 kB / 485.5 MB, free: 4.117 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.4459, allocations: 8 kB / 485.6 MB, free: 4.109 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.4463, allocations: 131.8 kB / 485.7 MB, free: 3.98 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/0.4464, allocations: 15.97 kB / 485.7 MB, free: 3.965 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.4466, allocations: 67.42 kB / 485.8 MB, free: 3.898 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.4467, allocations: 24 kB / 485.8 MB, free: 3.875 MB / 362.8 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.0002266/0.4469, allocations: 197.2 kB / 486 MB, free: 3.672 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.447, allocations: 55.33 kB / 486 MB, free: 3.617 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008656/0.4479, allocations: 0.5303 MB / 486.6 MB, free: 3.082 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4479, allocations: 0 / 486.6 MB, free: 3.082 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4479, allocations: 7.938 kB / 486.6 MB, free: 3.074 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4479, allocations: 0 / 486.6 MB, free: 3.074 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.4484, allocations: 477.1 kB / 487 MB, free: 2.559 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4484, allocations: 0 / 487 MB, free: 2.559 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.4489, allocations: 83.89 kB / 487.1 MB, free: 2.477 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4489, allocations: 7.953 kB / 487.1 MB, free: 2.469 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.4489, allocations: 15.98 kB / 487.1 MB, free: 2.453 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.449, allocations: 0 / 487.1 MB, free: 2.453 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.449, allocations: 4 kB / 487.1 MB, free: 2.449 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.45, allocations: 0.7337 MB / 487.9 MB, free: 1.691 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.4501, allocations: 124.6 kB / 488 MB, free: 1.551 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.4502, allocations: 23.94 kB / 488 MB, free: 1.527 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.4504, allocations: 15.98 kB / 488 MB, free: 1.512 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.4504, allocations: 19.97 kB / 488.1 MB, free: 1.492 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.4505, allocations: 15.98 kB / 488.1 MB, free: 1.477 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0003576/0.4509, allocations: 333.5 kB / 488.4 MB, free: 1.148 MB / 362.8 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4509, allocations: 0 / 488.4 MB, free: 1.148 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0004615/0.4513, allocations: 123.7 kB / 488.5 MB, free: 1.027 MB / 362.8 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.0002585/0.4516, allocations: 149 kB / 488.7 MB, free: 0.875 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0007227/0.4523, allocations: 0.5204 MB / 489.2 MB, free: 352 kB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4523, allocations: 0 / 489.2 MB, free: 352 kB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002933/0.4526, allocations: 263.8 kB / 489.4 MB, free: 76 kB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.4529, allocations: 42.08 kB / 489.5 MB, free: 36 kB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4542, allocations: 0.9152 MB / 490.4 MB, free: 15.09 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.4547, allocations: 0.8976 MB / 491.3 MB, free: 14.16 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0002576/0.455, allocations: 112.2 kB / 491.4 MB, free: 14.05 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.4551, allocations: 35.44 kB / 491.4 MB, free: 14.02 MB / 378.8 MB Notification: Performance of SimCode: time 3.3e-07/0.4551, allocations: 0 / 491.4 MB, free: 14.02 MB / 378.8 MB Notification: Performance of Templates: time 0.007727/0.4628, allocations: 3.523 MB / 495 MB, free: 10.52 MB / 378.8 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)