Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 169.2 kB / 7.64 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.07774/0.07774, allocations: 10.66 MB / 18.73 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.613/1.613, allocations: 205.3 MB / 226.9 MB, free: 7.961 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.001035/0.001035, allocations: 90.47 kB / 277.3 MB, free: 5.492 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.707e-05, allocations: 4 kB / 333.5 MB, free: 28.5 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 50 MB / 383.5 MB, free: 10.45 MB / 282.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4602, allocations: 79.22 MB / 462.8 MB, free: 5.625 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.4605, allocations: 82.8 kB / 462.8 MB, free: 5.582 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01991/0.4804, allocations: 7.254 MB / 470.1 MB, free: 15.42 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4804, allocations: 0 / 470.1 MB, free: 15.42 MB / 346.8 MB Notification: Performance of Transformations before backend: time 3.189e-05/0.4805, allocations: 15.94 kB / 470.1 MB, free: 15.41 MB / 346.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.00109/0.4816, allocations: 0.7334 MB / 470.8 MB, free: 14.65 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4816, allocations: 8.031 kB / 470.8 MB, free: 14.64 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.4817, allocations: 63.25 kB / 470.9 MB, free: 14.58 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.4824, allocations: 434.6 kB / 471.3 MB, free: 14.16 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.4824, allocations: 12 kB / 471.3 MB, free: 14.14 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.4825, allocations: 31.91 kB / 471.4 MB, free: 14.11 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005572/0.4831, allocations: 357.4 kB / 471.7 MB, free: 13.86 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.4838, allocations: 478.8 kB / 472.2 MB, free: 13.46 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.4838, allocations: 7.406 kB / 472.2 MB, free: 13.46 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.4838, allocations: 11.92 kB / 472.2 MB, free: 13.45 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4839, allocations: 8 kB / 472.2 MB, free: 13.44 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.4864, allocations: 1.724 MB / 473.9 MB, free: 11.91 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.4869, allocations: 254.1 kB / 474.2 MB, free: 11.73 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.4871, allocations: 167.8 kB / 474.4 MB, free: 11.62 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.4872, allocations: 4 kB / 474.4 MB, free: 11.61 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.4875, allocations: 254.1 kB / 474.6 MB, free: 11.39 MB / 346.8 MB Notification: Performance of pre-optimization done (n=36): time 2.525e-06/0.4875, allocations: 4 kB / 474.6 MB, free: 11.39 MB / 346.8 MB Notification: Performance of matching and sorting (n=36): time 0.0007047/0.4882, allocations: 409.5 kB / 475 MB, free: 11.06 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.4883, allocations: 89.03 kB / 475.1 MB, free: 10.95 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.4887, allocations: 367.8 kB / 475.5 MB, free: 10.66 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.4887, allocations: 29.7 kB / 475.5 MB, free: 10.62 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.4889, allocations: 277.9 kB / 475.8 MB, free: 10.42 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.489, allocations: 137.8 kB / 475.9 MB, free: 10.3 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.489, allocations: 0 / 475.9 MB, free: 10.3 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4892, allocations: 364 kB / 476.2 MB, free: 9.957 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.4894, allocations: 159.2 kB / 476.4 MB, free: 9.852 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.4897, allocations: 311.5 kB / 476.7 MB, free: 9.539 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.49, allocations: 207.8 kB / 476.9 MB, free: 9.387 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.49, allocations: 0 / 476.9 MB, free: 9.387 MB / 346.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008431/0.4909, allocations: 0.6486 MB / 477.6 MB, free: 8.859 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.4909, allocations: 41 kB / 477.6 MB, free: 8.816 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.491, allocations: 8.547 kB / 477.6 MB, free: 8.809 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.491, allocations: 8 kB / 477.6 MB, free: 8.801 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/0.4915, allocations: 134.5 kB / 477.7 MB, free: 8.672 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.4915, allocations: 11.94 kB / 477.8 MB, free: 8.66 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.4917, allocations: 51.42 kB / 477.8 MB, free: 8.609 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.4918, allocations: 25.31 kB / 477.8 MB, free: 8.59 MB / 346.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.0002008/0.492, allocations: 184.5 kB / 478 MB, free: 8.402 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.4921, allocations: 51.39 kB / 478.1 MB, free: 8.352 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007196/0.4928, allocations: 473.8 kB / 478.5 MB, free: 7.992 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4928, allocations: 4 kB / 478.5 MB, free: 7.988 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4928, allocations: 0 / 478.5 MB, free: 7.988 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4928, allocations: 8.078 kB / 478.5 MB, free: 7.98 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.4933, allocations: 417.2 kB / 478.9 MB, free: 7.613 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4933, allocations: 0 / 478.9 MB, free: 7.613 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.4938, allocations: 83.58 kB / 479 MB, free: 7.535 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4938, allocations: 4 kB / 479 MB, free: 7.531 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.4938, allocations: 15.8 kB / 479 MB, free: 7.52 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.4939, allocations: 3.953 kB / 479 MB, free: 7.516 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.4939, allocations: 7.938 kB / 479.1 MB, free: 7.508 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/0.4948, allocations: 0.6681 MB / 479.7 MB, free: 6.977 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.4949, allocations: 120.6 kB / 479.8 MB, free: 6.84 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.495, allocations: 11.61 kB / 479.9 MB, free: 6.832 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.4951, allocations: 11.98 kB / 479.9 MB, free: 6.82 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.4952, allocations: 26.92 kB / 479.9 MB, free: 6.797 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.4952, allocations: 19.86 kB / 479.9 MB, free: 6.781 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0002555/0.4955, allocations: 273.2 kB / 480.2 MB, free: 6.566 MB / 346.8 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4955, allocations: 0 / 480.2 MB, free: 6.566 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.0004376/0.496, allocations: 107.7 kB / 480.3 MB, free: 6.461 MB / 346.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.0002621/0.4962, allocations: 142.4 kB / 480.4 MB, free: 6.312 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0006279/0.4969, allocations: 0.4895 MB / 480.9 MB, free: 5.938 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4969, allocations: 4.062 kB / 480.9 MB, free: 5.934 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.4971, allocations: 257.8 kB / 481.2 MB, free: 5.734 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.4974, allocations: 32.98 kB / 481.2 MB, free: 5.719 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4986, allocations: 0.8846 MB / 482.1 MB, free: 4.887 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.4991, allocations: 0.8966 MB / 483 MB, free: 3.977 MB / 346.8 MB Notification: Performance of simCode: alias equations: time 0.0002771/0.4994, allocations: 107.2 kB / 483.1 MB, free: 3.871 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.4995, allocations: 31.44 kB / 483.1 MB, free: 3.84 MB / 346.8 MB Notification: Performance of SimCode: time 8.21e-07/0.4995, allocations: 192 / 483.1 MB, free: 3.84 MB / 346.8 MB Notification: Performance of Templates: time 0.007524/0.5071, allocations: 3.149 MB / 486.3 MB, free: 0.7031 MB / 346.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)