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.0009627/0.0009627, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001042/0.001042, allocations: 177.3 kB / 15.95 MB, free: 216 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.27/1.27, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05392/0.05392, allocations: 10.73 MB / 281.1 MB, free: 10.57 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.0005301/0.0005304, allocations: 12.22 kB / 341.6 MB, free: 23.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08438, allocations: 50.01 MB / 391.6 MB, free: 5.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.00216/0.08658, allocations: 1.797 MB / 393.4 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.08819, allocations: 0.9715 MB / 394.4 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.08843, allocations: 11.88 kB / 394.4 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.08867, allocations: 59.66 kB / 394.4 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.08883, allocations: 55.86 kB / 394.5 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007768/0.08962, allocations: 243.4 kB / 394.7 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.09014, allocations: 348.8 kB / 395.1 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.09031, allocations: 68.98 kB / 395.1 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.09059, allocations: 183.3 kB / 395.3 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.09094, allocations: 199.2 kB / 395.5 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.09103, allocations: 16 kB / 395.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.0912, allocations: 83.86 kB / 395.6 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.09136, allocations: 135.6 kB / 395.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.712e-05/0.09147, allocations: 93.39 kB / 395.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.09179, allocations: 347.5 kB / 396.2 MB, free: 1.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.0918, allocations: 0 / 396.2 MB, free: 1.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09181, allocations: 0 / 396.2 MB, free: 1.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.09183, allocations: 0 / 396.2 MB, free: 1.215 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.001196/0.09303, allocations: 0.7732 MB / 396.9 MB, free: 396 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.09307, allocations: 8.031 kB / 396.9 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.09319, allocations: 67.2 kB / 397 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.09375, allocations: 396.9 kB / 397.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.0938, allocations: 29 kB / 397.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/0.09388, allocations: 43.91 kB / 397.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/0.09462, allocations: 0.5006 MB / 398 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.09466, allocations: 15.83 kB / 398 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.0947, allocations: 20 kB / 398 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.09472, allocations: 11.95 kB / 398 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.09536, allocations: 399.7 kB / 398.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00273/0.0981, allocations: 1.791 MB / 400.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.09862, allocations: 269.5 kB / 400.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.09867, allocations: 11.94 kB / 400.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.09903, allocations: 265 kB / 400.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.374e-06/0.09905, allocations: 4 kB / 400.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009753/0.1, allocations: 0.661 MB / 401.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.1001, allocations: 81.11 kB / 401.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.1006, allocations: 481.8 kB / 401.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1006, allocations: 37.7 kB / 402 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1008, allocations: 276 kB / 402.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/0.1009, allocations: 142 kB / 402.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.1009, allocations: 12 kB / 402.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.101, allocations: 362.8 kB / 402.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.1013, allocations: 169.1 kB / 402.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.1016, allocations: 325.8 kB / 403.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.102, allocations: 259 kB / 403.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.102, allocations: 3.938 kB / 403.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009639/0.103, allocations: 0.726 MB / 404.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.103, allocations: 37.8 kB / 404.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1031, allocations: 12.59 kB / 404.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1031, allocations: 8 kB / 404.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.1036, allocations: 135.8 kB / 404.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.1036, allocations: 11.94 kB / 404.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.1039, allocations: 71.34 kB / 404.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.1039, allocations: 24 kB / 404.5 MB, free: 8.469 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.0003553/0.1043, allocations: 278.3 kB / 404.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.1044, allocations: 51.39 kB / 404.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007784/0.1051, allocations: 0.5216 MB / 405.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1052, allocations: 7.984 kB / 405.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1052, allocations: 0 / 405.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1052, allocations: 0 / 405.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.1056, allocations: 477.1 kB / 405.8 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1057, allocations: 0 / 405.8 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.1061, allocations: 87.89 kB / 405.9 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1062, allocations: 0 / 405.9 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.1062, allocations: 19.94 kB / 405.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1062, allocations: 8 kB / 406 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1062, allocations: 3.984 kB / 406 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/0.1072, allocations: 0.7158 MB / 406.7 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1073, allocations: 132.5 kB / 406.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.1074, allocations: 16 kB / 406.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1075, allocations: 23.88 kB / 406.8 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.1076, allocations: 19.97 kB / 406.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.1077, allocations: 15.98 kB / 406.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003177/0.108, allocations: 327.1 kB / 407.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.108, allocations: 0 / 407.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004157/0.1084, allocations: 115.8 kB / 407.3 MB, free: 5.562 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.0002059/0.1086, allocations: 148 kB / 407.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007541/0.1094, allocations: 0.5441 MB / 408 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1094, allocations: 0 / 408 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.1097, allocations: 287.1 kB / 408.3 MB, free: 4.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.11, allocations: 37.95 kB / 408.3 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1114, allocations: 1.256 MB / 409.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1118, allocations: 0.8937 MB / 410.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002647/0.1121, allocations: 112.2 kB / 410.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.1122, allocations: 31.44 kB / 410.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1122, allocations: 0 / 410.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of Templates: time 0.007607/0.1198, allocations: 3.504 MB / 414.1 MB, free: 14.66 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: