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.0009437/0.0009439, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001077/0.001077, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05527/0.05527, allocations: 10.74 MB / 281.1 MB, free: 10.54 MB / 238.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.000499/0.000499, allocations: 18.97 kB / 341.6 MB, free: 23.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08018/0.08069, allocations: 50.01 MB / 391.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002253/0.08298, allocations: 1.777 MB / 393.4 MB, free: 3.977 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.08473, allocations: 0.9754 MB / 394.4 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.08497, allocations: 15.81 kB / 394.4 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.08524, allocations: 67.61 kB / 394.5 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.08538, allocations: 47.7 kB / 394.5 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008364/0.08623, allocations: 251.6 kB / 394.8 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006286/0.08687, allocations: 0.4966 MB / 395.3 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.08705, allocations: 69 kB / 395.3 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.08733, allocations: 183.2 kB / 395.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.08769, allocations: 223.1 kB / 395.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.91e-05/0.08777, allocations: 16 kB / 395.7 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.08793, allocations: 83.92 kB / 395.8 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.0881, allocations: 135.5 kB / 396 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.08825, allocations: 93.45 kB / 396 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.08859, allocations: 351.5 kB / 396.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.08861, allocations: 0 / 396.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.08861, allocations: 0 / 396.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.08863, allocations: 3.938 kB / 396.4 MB, free: 0.9688 MB / 286.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.00111/0.08975, allocations: 0.7766 MB / 397.2 MB, free: 144 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.08979, allocations: 12.03 kB / 397.2 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.726e-05/0.08989, allocations: 67.2 kB / 397.2 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.09039, allocations: 388.9 kB / 397.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.09043, allocations: 33 kB / 397.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.09051, allocations: 43.91 kB / 397.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007625/0.09127, allocations: 0.5044 MB / 398.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.09132, allocations: 11.91 kB / 398.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.09136, allocations: 16 kB / 398.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.09138, allocations: 15.95 kB / 398.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.09206, allocations: 399.7 kB / 398.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.09466, allocations: 1.795 MB / 400.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.09516, allocations: 261.1 kB / 400.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.09544, allocations: 192.6 kB / 400.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.09548, allocations: 8.203 kB / 400.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/0.09587, allocations: 268.9 kB / 401.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.483e-06/0.09588, allocations: 0 / 401.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009258/0.09681, allocations: 0.5741 MB / 401.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.09689, allocations: 85.11 kB / 401.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.09742, allocations: 489.8 kB / 402.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.09746, allocations: 33.7 kB / 402.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.09768, allocations: 275.9 kB / 402.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.0978, allocations: 142 kB / 402.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.09783, allocations: 4 kB / 402.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.098, allocations: 370.8 kB / 403.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.09829, allocations: 161.1 kB / 403.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.0987, allocations: 333.8 kB / 403.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.0991, allocations: 262.8 kB / 403.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.09912, allocations: 0 / 403.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001147/0.1003, allocations: 0.7266 MB / 404.6 MB, free: 8.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.1003, allocations: 45.62 kB / 404.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1003, allocations: 8 kB / 404.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.1004, allocations: 11.98 kB / 404.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.1009, allocations: 135.8 kB / 404.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.1009, allocations: 11.94 kB / 404.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1012, allocations: 63.36 kB / 404.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.1012, allocations: 28 kB / 404.9 MB, free: 8.133 MB / 302.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.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] 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.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003778/0.1016, allocations: 278.5 kB / 405.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.1017, allocations: 55.38 kB / 405.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/0.1025, allocations: 0.514 MB / 405.7 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1025, allocations: 4 kB / 405.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1025, allocations: 0 / 405.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1025, allocations: 4 kB / 405.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.1032, allocations: 473.1 kB / 406.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1032, allocations: 0 / 406.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.1036, allocations: 87.88 kB / 406.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1037, allocations: 0 / 406.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.1037, allocations: 19.94 kB / 406.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1037, allocations: 4 kB / 406.3 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1037, allocations: 0 / 406.3 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.1048, allocations: 0.7236 MB / 407 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.1049, allocations: 124.5 kB / 407.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.105, allocations: 23.98 kB / 407.1 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1051, allocations: 19.94 kB / 407.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.1052, allocations: 27.95 kB / 407.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.1053, allocations: 15.94 kB / 407.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003907/0.1057, allocations: 331.1 kB / 407.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1057, allocations: 0 / 407.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004538/0.1062, allocations: 115.8 kB / 407.6 MB, free: 5.227 MB / 302.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 (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.0002735/0.1064, allocations: 132.1 kB / 407.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008689/0.1073, allocations: 0.5429 MB / 408.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1073, allocations: 4 kB / 408.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.1077, allocations: 275.2 kB / 408.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.108, allocations: 51.8 kB / 408.6 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.1097, allocations: 1.268 MB / 409.9 MB, free: 2.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.1103, allocations: 0.8859 MB / 410.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002902/0.1106, allocations: 112.2 kB / 410.9 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.1107, allocations: 35.42 kB / 410.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1107, allocations: 0 / 410.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of Templates: time 0.008192/0.1189, allocations: 3.507 MB / 414.4 MB, free: 14.32 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: