Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001664/0.001664, allocations: 187 kB / 17.34 MB, free: 5.742 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.413/1.413, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05661/0.05661, allocations: 10.73 MB / 281.3 MB, free: 1.305 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.001385/0.001385, allocations: 72.56 kB / 391.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.09008, allocations: 49.02 MB / 440.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002732/0.09285, allocations: 2.111 MB / 442.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.09379, allocations: 0.5376 MB / 443.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.09395, allocations: 15.88 kB / 443.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.0942, allocations: 51.45 kB / 443.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.417e-05/0.09433, allocations: 39.55 kB / 443.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.09499, allocations: 255.5 kB / 443.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.09549, allocations: 0.5077 MB / 444 MB, free: 308 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.09571, allocations: 92.59 kB / 444.1 MB, free: 216 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.09588, allocations: 171.4 kB / 444.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.09619, allocations: 183.3 kB / 444.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.261e-05/0.09626, allocations: 31.94 kB / 444.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.09632, allocations: 28 kB / 444.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.09649, allocations: 131.6 kB / 444.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.09668, allocations: 174.9 kB / 444.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.09708, allocations: 374.5 kB / 445.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.09709, allocations: 0 / 445.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.09711, allocations: 0 / 445.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.09712, allocations: 0 / 445.2 MB, free: 15.14 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001246/0.09837, allocations: 0.7133 MB / 445.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.09842, allocations: 11.89 kB / 445.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.09852, allocations: 60.27 kB / 446 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.099, allocations: 379.8 kB / 446.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.09904, allocations: 25.38 kB / 446.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.09912, allocations: 40.28 kB / 446.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/0.09976, allocations: 420.5 kB / 446.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.0998, allocations: 8.188 kB / 446.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.09984, allocations: 23.86 kB / 446.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.09986, allocations: 8 kB / 446.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.1004, allocations: 310.4 kB / 447.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.1025, allocations: 1.532 MB / 448.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/0.1032, allocations: 222.5 kB / 448.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.1034, allocations: 128.8 kB / 449 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1035, allocations: 4 kB / 449 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1035, allocations: 34.5 kB / 449.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.1035, allocations: 0 / 449.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007006/0.1042, allocations: 357.4 kB / 449.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1043, allocations: 55.41 kB / 449.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.1047, allocations: 405.5 kB / 449.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1047, allocations: 29.7 kB / 449.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1049, allocations: 239.9 kB / 450.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.1049, allocations: 98.56 kB / 450.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.105, allocations: 77.69 kB / 450.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1052, allocations: 354.8 kB / 450.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.1054, allocations: 96.38 kB / 450.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.1056, allocations: 228.2 kB / 451 MB, free: 9.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.1075, allocations: 0.6707 MB / 451.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1075, allocations: 7.938 kB / 451.7 MB, free: 8.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006596/0.1082, allocations: 452.4 kB / 452.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1082, allocations: 14.44 kB / 452.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1082, allocations: 8 kB / 452.1 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.1083, allocations: 15.92 kB / 452.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.1086, allocations: 91.89 kB / 452.2 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.1087, allocations: 11.92 kB / 452.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1088, allocations: 51.52 kB / 452.3 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.1089, allocations: 20 kB / 452.3 MB, free: 7.641 MB / 334.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 (51): * Single equations (assignments): 51 * 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.0002531/0.1091, allocations: 195.5 kB / 452.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.1092, allocations: 39.47 kB / 452.5 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.1098, allocations: 345.3 kB / 452.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1098, allocations: 0 / 452.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1098, allocations: 0 / 452.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1098, allocations: 0 / 452.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.1102, allocations: 401.2 kB / 453.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1103, allocations: 0 / 453.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.1107, allocations: 83.88 kB / 453.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1107, allocations: 7.938 kB / 453.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.1107, allocations: 8 kB / 453.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1107, allocations: 7.984 kB / 453.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1107, allocations: 4 kB / 453.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.1115, allocations: 0.5124 MB / 453.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.199e-05/0.1116, allocations: 120.5 kB / 454 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.1116, allocations: 23.92 kB / 454 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1118, allocations: 7.984 kB / 454 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.1119, allocations: 19.92 kB / 454.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1119, allocations: 11.98 kB / 454.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.1121, allocations: 275.1 kB / 454.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1122, allocations: 0 / 454.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.1125, allocations: 71.75 kB / 454.4 MB, free: 5.438 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.0001334/0.1126, allocations: 111.3 kB / 454.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.1132, allocations: 311.4 kB / 454.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1132, allocations: 0 / 454.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.1134, allocations: 128.8 kB / 454.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1138, allocations: 42.67 kB / 455 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.115, allocations: 0.8726 MB / 455.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1154, allocations: 0.838 MB / 456.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1155, allocations: 39.38 kB / 456.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1156, allocations: 0 / 456.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of Templates: time 0.007535/0.1231, allocations: 4.503 MB / 461.2 MB, free: 14.54 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)