Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_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.001366/0.001366, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06932/0.06932, allocations: 10.66 MB / 18.73 MB, free: 1.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.3 MB / 226.9 MB, free: 7.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 89.3 kB / 277.3 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.9e-05, allocations: 4 kB / 333.6 MB, free: 28.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 50 MB / 383.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5438, allocations: 78 MB / 461.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/0.5442, allocations: 71.45 kB / 461.7 MB, free: 6.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01433/0.5586, allocations: 4.689 MB / 466.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5587, allocations: 0 / 466.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.683e-05/0.5587, allocations: 16.59 kB / 466.4 MB, free: 2.227 MB / 330.7 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.001125/0.5598, allocations: 0.6272 MB / 467 MB, free: 1.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.5599, allocations: 8.031 kB / 467 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.56, allocations: 47.44 kB / 467.1 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008188/0.5609, allocations: 394.9 kB / 467.5 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.561, allocations: 64.19 kB / 467.5 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.561, allocations: 31.88 kB / 467.6 MB, free: 1.027 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005132/0.5616, allocations: 253.8 kB / 467.8 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.5622, allocations: 377 kB / 468.2 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.5622, allocations: 3.938 kB / 468.2 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.5623, allocations: 4 kB / 468.2 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.5623, allocations: 8 kB / 468.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.5648, allocations: 1.483 MB / 469.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.5652, allocations: 169.9 kB / 469.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.5654, allocations: 100.7 kB / 469.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.5654, allocations: 4.188 kB / 469.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5655, allocations: 34.56 kB / 470 MB, free: 14.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.295e-06/0.5655, allocations: 0 / 470 MB, free: 14.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004516/0.5659, allocations: 221.9 kB / 470.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.566, allocations: 59.36 kB / 470.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.5663, allocations: 286.7 kB / 470.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.5664, allocations: 25.7 kB / 470.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.5666, allocations: 245.1 kB / 470.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/0.5667, allocations: 90.2 kB / 470.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.5667, allocations: 0 / 470.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.5669, allocations: 345.9 kB / 471.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.567, allocations: 83.12 kB / 471.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.5673, allocations: 198.5 kB / 471.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.5675, allocations: 116 kB / 471.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.5675, allocations: 4 kB / 471.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005007/0.568, allocations: 368.9 kB / 472 MB, free: 13.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.568, allocations: 11.94 kB / 472 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.568, allocations: 4 kB / 472 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.5681, allocations: 8.469 kB / 472 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.5685, allocations: 103.5 kB / 472.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5685, allocations: 4 kB / 472.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.5687, allocations: 39.62 kB / 472.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.5687, allocations: 15.81 kB / 472.2 MB, free: 13.01 MB / 346.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001851/0.5689, allocations: 134.4 kB / 472.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003444/0.5693, allocations: 219.9 kB / 472.5 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.5693, allocations: 31.53 kB / 472.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.5698, allocations: 258.5 kB / 472.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.5698, allocations: 4 kB / 472.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5698, allocations: 3.953 kB / 472.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.5698, allocations: 3.984 kB / 472.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.5703, allocations: 340.9 kB / 473.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5703, allocations: 0 / 473.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.5707, allocations: 68.7 kB / 473.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5707, allocations: 0 / 473.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.5708, allocations: 7.984 kB / 473.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.5708, allocations: 3.938 kB / 473.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.5708, allocations: 0 / 473.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.5714, allocations: 455.1 kB / 473.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.38e-05/0.5715, allocations: 108.6 kB / 473.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.5716, allocations: 4.109 kB / 473.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.5717, allocations: 11.92 kB / 473.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.5718, allocations: 19.66 kB / 473.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.5718, allocations: 8 kB / 473.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.572, allocations: 212.2 kB / 474 MB, free: 11.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.572, allocations: 0 / 474 MB, free: 11.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.5724, allocations: 51.84 kB / 474.1 MB, free: 11.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.0009577/0.5733, allocations: 0.9944 MB / 475.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.5738, allocations: 244.1 kB / 475.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.5738, allocations: 4.375 kB / 475.3 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.5739, allocations: 108.7 kB / 475.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.5743, allocations: 21.83 kB / 475.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.5758, allocations: 0.7272 MB / 476.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.5763, allocations: 0.8471 MB / 477 MB, free: 8.527 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.5765, allocations: 67.23 kB / 477.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.5767, allocations: 134 kB / 477.2 MB, free: 8.426 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5767, allocations: 0 / 477.2 MB, free: 8.426 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.6035, allocations: 5.075 MB / 482.3 MB, free: 3.367 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.6037, allocations: 165.8 kB / 482.4 MB, free: 3.168 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/2.937, allocations: 0 / 482.4 MB, free: 3.168 MB / 346.7 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)