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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01126/0.01126, allocations: 171.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.07153/0.07153, allocations: 10.73 MB / 26.59 MB, free: 2.266 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 235.2 MB, free: 184 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009499/0.0009498, allocations: 86.17 kB / 285.9 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 12 kB / 346.5 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 49.98 MB / 396.5 MB, free: 3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.4454, allocations: 78.55 MB / 475 MB, free: 16.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4457, allocations: 74.34 kB / 475.1 MB, free: 16.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01194/0.4576, allocations: 4.794 MB / 479.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4577, allocations: 0 / 479.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.4577, allocations: 22.7 kB / 479.9 MB, free: 13.59 MB / 346.7 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.0008909/0.4586, allocations: 0.6709 MB / 480.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.4587, allocations: 8.031 kB / 480.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.649e-05/0.4587, allocations: 74.16 kB / 480.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.4588, allocations: 47.44 kB / 480.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.4595, allocations: 387 kB / 481.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.4595, allocations: 26.25 kB / 481.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.4596, allocations: 47.58 kB / 481.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.4602, allocations: 434.2 kB / 481.6 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4602, allocations: 15.77 kB / 481.6 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.4603, allocations: 13.31 kB / 481.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4603, allocations: 8 kB / 481.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.4608, allocations: 310.6 kB / 481.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.4627, allocations: 1.542 MB / 483.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.4634, allocations: 241 kB / 483.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.4635, allocations: 0 / 483.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.4635, allocations: 38.28 kB / 483.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.042e-06/0.4635, allocations: 4 kB / 483.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006041/0.4641, allocations: 360.8 kB / 484.1 MB, free: 9.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.4641, allocations: 59.09 kB / 484.2 MB, free: 9.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.4644, allocations: 351.2 kB / 484.5 MB, free: 9.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.4645, allocations: 37.27 kB / 484.6 MB, free: 9.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4646, allocations: 240.7 kB / 484.8 MB, free: 9.262 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.4646, allocations: 98.45 kB / 484.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.4647, allocations: 7.812 kB / 484.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.4648, allocations: 362.3 kB / 485.2 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.4649, allocations: 102.7 kB / 485.3 MB, free: 8.762 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.4652, allocations: 219 kB / 485.6 MB, free: 8.535 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.4654, allocations: 161.1 kB / 485.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4654, allocations: 0 / 485.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005621/0.466, allocations: 459 kB / 486.2 MB, free: 8.066 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.466, allocations: 4 kB / 486.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.466, allocations: 7.75 kB / 486.2 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.466, allocations: 8 kB / 486.2 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.4664, allocations: 108.1 kB / 486.3 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4664, allocations: 8 kB / 486.3 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.4666, allocations: 50.64 kB / 486.3 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.4666, allocations: 19.69 kB / 486.4 MB, free: 7.883 MB / 346.7 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] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.4668, allocations: 205.7 kB / 486.6 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.4669, allocations: 35.53 kB / 486.6 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005685/0.4675, allocations: 348 kB / 486.9 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4675, allocations: 4 kB / 486.9 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4675, allocations: 0 / 486.9 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4675, allocations: 3.984 kB / 486.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.4679, allocations: 399.6 kB / 487.3 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4679, allocations: 4 kB / 487.3 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.4683, allocations: 80.14 kB / 487.4 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4683, allocations: 0 / 487.4 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.4683, allocations: 11.36 kB / 487.4 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4683, allocations: 4 kB / 487.4 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4683, allocations: 4.688 kB / 487.4 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005922/0.4689, allocations: 0.5365 MB / 488 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.469, allocations: 120 kB / 488.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.4691, allocations: 6.875 kB / 488.1 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.4692, allocations: 18.86 kB / 488.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.4693, allocations: 18.91 kB / 488.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4693, allocations: 14.62 kB / 488.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.4695, allocations: 275.9 kB / 488.4 MB, free: 6.094 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4695, allocations: 0 / 488.4 MB, free: 6.094 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.4698, allocations: 78.5 kB / 488.5 MB, free: 6.027 MB / 346.7 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 (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.0007728/0.4706, allocations: 1.078 MB / 489.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.4711, allocations: 317.4 kB / 489.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4711, allocations: 0 / 489.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.4713, allocations: 137.2 kB / 490 MB, free: 4.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.4716, allocations: 28.09 kB / 490 MB, free: 4.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.4753, allocations: 4.816 MB / 494.9 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.4759, allocations: 0.8485 MB / 495.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000249/0.4762, allocations: 75.23 kB / 495.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.4764, allocations: 153.7 kB / 495.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of SimCode: time 5.05e-06/0.4764, allocations: 0 / 495.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.4956, allocations: 6.262 MB / 0.4904 GB, free: 8.926 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.4959, allocations: 204.2 kB / 0.4906 GB, free: 8.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.502, allocations: 0 / 0.4906 GB, free: 8.68 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)