Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.52/1.52, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05714/0.05714, allocations: 10.74 MB / 280.5 MB, free: 10.51 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.001555/0.001555, allocations: 67.91 kB / 340.5 MB, free: 23.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1013, allocations: 49.02 MB / 389.6 MB, free: 6.242 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003846/0.1052, allocations: 2.097 MB / 391.7 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.1062, allocations: 394.9 kB / 392 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.1064, allocations: 11.94 kB / 392.1 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1066, allocations: 55.45 kB / 392.1 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.1068, allocations: 35.61 kB / 392.1 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.1074, allocations: 191.6 kB / 392.3 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.1078, allocations: 471.3 kB / 392.8 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.108, allocations: 76.66 kB / 392.9 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1082, allocations: 159.4 kB / 393 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1084, allocations: 171.2 kB / 393.2 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.1085, allocations: 24 kB / 393.2 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.307e-05/0.1086, allocations: 31.94 kB / 393.2 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1087, allocations: 119.7 kB / 393.4 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.1088, allocations: 162.9 kB / 393.5 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1092, allocations: 339 kB / 393.8 MB, free: 1.926 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1092, allocations: 0 / 393.8 MB, free: 1.926 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1092, allocations: 0 / 393.8 MB, free: 1.926 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1092, allocations: 0 / 393.8 MB, free: 1.926 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001072/0.1103, allocations: 0.7014 MB / 394.5 MB, free: 1.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1103, allocations: 15.89 kB / 394.6 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.1104, allocations: 44.38 kB / 394.6 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.1108, allocations: 367.6 kB / 395 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.1109, allocations: 25.03 kB / 395 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.1109, allocations: 40.36 kB / 395 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/0.1115, allocations: 400.1 kB / 395.4 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.1116, allocations: 8.094 kB / 395.4 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.1116, allocations: 15.94 kB / 395.4 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1116, allocations: 8 kB / 395.5 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.1121, allocations: 298.4 kB / 395.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.114, allocations: 1.497 MB / 397.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.1144, allocations: 174.9 kB / 397.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.1146, allocations: 112.7 kB / 397.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.1147, allocations: 3.828 kB / 397.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1147, allocations: 38.56 kB / 397.6 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.1147, allocations: 0 / 397.6 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005928/0.1153, allocations: 324.9 kB / 397.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1153, allocations: 51.41 kB / 397.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.1157, allocations: 397.6 kB / 398.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1157, allocations: 29.7 kB / 398.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1159, allocations: 235.9 kB / 398.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.116, allocations: 82.81 kB / 398.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.1161, allocations: 69.59 kB / 398.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1162, allocations: 354.7 kB / 399.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1164, allocations: 92.31 kB / 399.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.1166, allocations: 210.1 kB / 399.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.1179, allocations: 0.5803 MB / 399.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1179, allocations: 0 / 399.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005765/0.1185, allocations: 416.8 kB / 400.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1185, allocations: 15.06 kB / 400.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1185, allocations: 4 kB / 400.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1186, allocations: 4.469 kB / 400.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.1189, allocations: 91.83 kB / 400.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1189, allocations: 11.92 kB / 400.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.1191, allocations: 47.58 kB / 400.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1191, allocations: 12 kB / 400.5 MB, free: 10.86 MB / 302.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0002146/0.1193, allocations: 191.6 kB / 400.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.1194, allocations: 39.47 kB / 400.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.1199, allocations: 284.9 kB / 401 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1199, allocations: 4 kB / 401 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1199, allocations: 4 kB / 401 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1199, allocations: 0 / 401 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.1203, allocations: 381.3 kB / 401.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1203, allocations: 3.938 kB / 401.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.1206, allocations: 59.95 kB / 401.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1206, allocations: 11.88 kB / 401.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1207, allocations: 7.984 kB / 401.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1207, allocations: 4 kB / 401.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1207, allocations: 0 / 401.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.1213, allocations: 478.7 kB / 402 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.1214, allocations: 120.5 kB / 402.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.1214, allocations: 12 kB / 402.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1216, allocations: 11.98 kB / 402.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.1216, allocations: 15.97 kB / 402.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1216, allocations: 4 kB / 402.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.1219, allocations: 275.3 kB / 402.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1219, allocations: 4 kB / 402.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1222, allocations: 63.78 kB / 402.5 MB, free: 8.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001303/0.1223, allocations: 114.9 kB / 402.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004875/0.1228, allocations: 288.7 kB / 402.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1228, allocations: 4 kB / 402.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.123, allocations: 115.8 kB / 403 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.1234, allocations: 41.34 kB / 403 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1244, allocations: 0.7641 MB / 403.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1248, allocations: 0.8344 MB / 404.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.1249, allocations: 70.91 kB / 404.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.125, allocations: 27.44 kB / 404.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.125, allocations: 0 / 404.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of Templates: time 0.005282/0.1303, allocations: 2.265 MB / 407 MB, free: 4.254 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)