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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 106.3 kB / 16.36 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 192.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05741/0.05741, allocations: 10.75 MB / 281.3 MB, free: 1.301 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001786, allocations: 68.12 kB / 342 MB, free: 4.453 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3729, allocations: 49.01 MB / 391 MB, free: 49.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.00381/0.3767, allocations: 2.173 MB / 393.2 MB, free: 48.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3785, allocations: 1.03 MB / 394.2 MB, free: 47.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3786, allocations: 14.75 kB / 394.2 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.3789, allocations: 84.95 kB / 394.3 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.3791, allocations: 69.81 kB / 394.4 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008558/0.3799, allocations: 314.3 kB / 394.7 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007269/0.3807, allocations: 0.5829 MB / 395.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.3809, allocations: 92.17 kB / 395.3 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.3812, allocations: 204 kB / 395.5 MB, free: 47.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.3815, allocations: 249.1 kB / 395.8 MB, free: 46.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.3816, allocations: 34.19 kB / 395.8 MB, free: 46.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.3818, allocations: 113.4 kB / 395.9 MB, free: 46.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.382, allocations: 154.7 kB / 396.1 MB, free: 46.87 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.3822, allocations: 216.7 kB / 396.3 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000691/0.3829, allocations: 0.5006 MB / 396.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.383, allocations: 1.156 kB / 396.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.383, allocations: 0 / 396.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.383, allocations: 0 / 396.8 MB, free: 46.5 MB / 318.1 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.00143/0.3844, allocations: 0.8521 MB / 397.6 MB, free: 45.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3845, allocations: 13.27 kB / 397.7 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.3846, allocations: 57.78 kB / 397.7 MB, free: 45.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006899/0.3853, allocations: 429 kB / 398.1 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.3853, allocations: 33.77 kB / 398.2 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.414e-05/0.3854, allocations: 41.75 kB / 398.2 MB, free: 45.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009073/0.3863, allocations: 0.5094 MB / 398.7 MB, free: 45.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.3864, allocations: 12.42 kB / 398.7 MB, free: 45.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.3864, allocations: 19.66 kB / 398.7 MB, free: 45.24 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.3864, allocations: 9.844 kB / 398.8 MB, free: 45.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/0.3871, allocations: 397.3 kB / 399.1 MB, free: 45.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.3898, allocations: 1.783 MB / 400.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.3903, allocations: 271.9 kB / 401.2 MB, free: 43.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3906, allocations: 181 kB / 401.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.3907, allocations: 7.188 kB / 401.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003827/0.391, allocations: 253.8 kB / 401.6 MB, free: 43.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.3911, allocations: 1.094 kB / 401.6 MB, free: 43.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001035/0.3921, allocations: 0.5732 MB / 402.2 MB, free: 43.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.3922, allocations: 82.59 kB / 402.3 MB, free: 42.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.3927, allocations: 495.7 kB / 402.8 MB, free: 42.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.3927, allocations: 36.64 kB / 402.8 MB, free: 42.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3929, allocations: 277.5 kB / 403.1 MB, free: 42.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.393, allocations: 144.1 kB / 403.2 MB, free: 42.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.3932, allocations: 103.5 kB / 403.3 MB, free: 42.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3933, allocations: 369 kB / 403.7 MB, free: 41.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.3936, allocations: 166.4 kB / 403.8 MB, free: 41.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.3939, allocations: 334.7 kB / 404.2 MB, free: 41.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.3958, allocations: 1.071 MB / 405.2 MB, free: 40.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.3959, allocations: 1.156 kB / 405.2 MB, free: 40.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009728/0.3968, allocations: 0.7148 MB / 405.9 MB, free: 40.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3969, allocations: 43.62 kB / 406 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3969, allocations: 4.188 kB / 406 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.3969, allocations: 8.969 kB / 406 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.3974, allocations: 141.7 kB / 406.1 MB, free: 40.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.3974, allocations: 8.25 kB / 406.2 MB, free: 40.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.3977, allocations: 63.77 kB / 406.2 MB, free: 40.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.3977, allocations: 24.22 kB / 406.2 MB, free: 40.23 MB / 318.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true 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 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002915/0.398, allocations: 286.3 kB / 406.5 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.3981, allocations: 46.91 kB / 406.6 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007903/0.3989, allocations: 0.5194 MB / 407.1 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3989, allocations: 3.531 kB / 407.1 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3989, allocations: 0 / 407.1 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3989, allocations: 7.969 kB / 407.1 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.3994, allocations: 474.9 kB / 407.6 MB, free: 39.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3994, allocations: 0 / 407.6 MB, free: 39.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.3999, allocations: 87.81 kB / 407.6 MB, free: 39.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3999, allocations: 1.25 kB / 407.6 MB, free: 39.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.3999, allocations: 20.8 kB / 407.7 MB, free: 39.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3999, allocations: 5.062 kB / 407.7 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3999, allocations: 0 / 407.7 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009506/0.4009, allocations: 0.7201 MB / 408.4 MB, free: 38.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.401, allocations: 124.5 kB / 408.5 MB, free: 38.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.4011, allocations: 23.98 kB / 408.5 MB, free: 38.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.4012, allocations: 19.92 kB / 408.6 MB, free: 38.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.4013, allocations: 19.97 kB / 408.6 MB, free: 38.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4013, allocations: 12 kB / 408.6 MB, free: 38.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.4016, allocations: 335.1 kB / 408.9 MB, free: 38.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4016, allocations: 3.938 kB / 408.9 MB, free: 38.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004235/0.402, allocations: 111.8 kB / 409 MB, free: 38 MB / 318.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002198/0.4023, allocations: 144.2 kB / 409.2 MB, free: 37.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.4029, allocations: 0.5622 MB / 409.7 MB, free: 37.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4029, allocations: 0 / 409.7 MB, free: 37.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.4032, allocations: 283.1 kB / 410 MB, free: 36.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.4036, allocations: 50.58 kB / 410.1 MB, free: 36.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.4049, allocations: 1.082 MB / 411.1 MB, free: 35.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.4053, allocations: 0.882 MB / 412 MB, free: 34.92 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.4055, allocations: 108.1 kB / 412.1 MB, free: 34.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.4056, allocations: 35.44 kB / 412.2 MB, free: 34.78 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4056, allocations: 0 / 412.2 MB, free: 34.78 MB / 318.1 MB Notification: Performance of Templates: time 0.008186/0.4138, allocations: 3.837 MB / 416 MB, free: 30.96 MB / 318.1 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 -s cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)