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.001136/0.001136, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05819/0.05819, allocations: 10.66 MB / 23.92 MB, free: 1.609 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.711/1.711, allocations: 205.2 MB / 232.1 MB, free: 12.84 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008157/0.000816, allocations: 95.42 kB / 282.6 MB, free: 13.58 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.534e-05, allocations: 4 kB / 340.6 MB, free: 3.523 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3094, allocations: 49.98 MB / 390.6 MB, free: 35.71 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.4139, allocations: 78.34 MB / 468.9 MB, free: 5.258 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.4142, allocations: 75.95 kB / 469 MB, free: 5.184 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01342/0.4277, allocations: 4.708 MB / 473.7 MB, free: 460 kB / 346.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4277, allocations: 0 / 473.7 MB, free: 460 kB / 346.8 MB Notification: Performance of Transformations before backend: time 2.866e-05/0.4277, allocations: 15.94 kB / 473.7 MB, free: 444 kB / 346.8 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.0009161/0.4287, allocations: 0.6352 MB / 474.3 MB, free: 15.75 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4287, allocations: 12.03 kB / 474.4 MB, free: 15.74 MB / 362.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.516e-05/0.4288, allocations: 70.53 kB / 474.4 MB, free: 15.66 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.4289, allocations: 43.44 kB / 474.5 MB, free: 15.62 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006728/0.4296, allocations: 388.3 kB / 474.8 MB, free: 15.2 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.4297, allocations: 84.12 kB / 474.9 MB, free: 15.11 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.4297, allocations: 39.91 kB / 475 MB, free: 15.07 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.4304, allocations: 420 kB / 475.4 MB, free: 14.62 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.4304, allocations: 8 kB / 475.4 MB, free: 14.62 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.4305, allocations: 16 kB / 475.4 MB, free: 14.6 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4305, allocations: 8 kB / 475.4 MB, free: 14.59 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/0.4309, allocations: 275 kB / 475.7 MB, free: 14.32 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.4333, allocations: 1.573 MB / 477.2 MB, free: 12.67 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.4337, allocations: 171.2 kB / 477.4 MB, free: 12.49 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.4339, allocations: 113.1 kB / 477.5 MB, free: 12.38 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.4339, allocations: 4.188 kB / 477.5 MB, free: 12.38 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.4339, allocations: 30.75 kB / 477.6 MB, free: 12.34 MB / 362.8 MB Notification: Performance of pre-optimization done (n=22): time 3.828e-06/0.434, allocations: 0 / 477.6 MB, free: 12.34 MB / 362.8 MB Notification: Performance of matching and sorting (n=22): time 0.0004686/0.4344, allocations: 250 kB / 477.8 MB, free: 12.09 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.4345, allocations: 51.41 kB / 477.9 MB, free: 12.03 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.4349, allocations: 347.5 kB / 478.2 MB, free: 11.68 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4349, allocations: 33.7 kB / 478.2 MB, free: 11.64 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.4351, allocations: 235.8 kB / 478.5 MB, free: 11.41 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.4352, allocations: 82.72 kB / 478.5 MB, free: 11.33 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.4352, allocations: 8 kB / 478.5 MB, free: 11.32 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4354, allocations: 346.8 kB / 478.9 MB, free: 10.97 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4355, allocations: 88.73 kB / 479 MB, free: 10.88 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.4358, allocations: 204.9 kB / 479.2 MB, free: 10.64 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.436, allocations: 129.9 kB / 479.3 MB, free: 10.5 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.436, allocations: 8 kB / 479.3 MB, free: 10.5 MB / 362.8 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005915/0.4366, allocations: 415.7 kB / 479.7 MB, free: 10.09 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4367, allocations: 4.625 kB / 479.7 MB, free: 10.08 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4367, allocations: 4.469 kB / 479.7 MB, free: 10.08 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.072e-05/0.4367, allocations: 19.95 kB / 479.7 MB, free: 10.06 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.4372, allocations: 95.88 kB / 479.8 MB, free: 9.965 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.4372, allocations: 7.938 kB / 479.8 MB, free: 9.957 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.4374, allocations: 51.52 kB / 479.9 MB, free: 9.906 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.4374, allocations: 16 kB / 479.9 MB, free: 9.891 MB / 362.8 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.0001611/0.4376, allocations: 139.6 kB / 480 MB, free: 9.75 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.4376, allocations: 31.62 kB / 480.1 MB, free: 9.719 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.4381, allocations: 287.3 kB / 480.4 MB, free: 9.438 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4381, allocations: 0 / 480.4 MB, free: 9.438 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4382, allocations: 3.953 kB / 480.4 MB, free: 9.434 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4382, allocations: 4 kB / 480.4 MB, free: 9.43 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.4386, allocations: 393.1 kB / 480.7 MB, free: 8.996 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4386, allocations: 4 kB / 480.7 MB, free: 8.992 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.4391, allocations: 71.89 kB / 480.8 MB, free: 8.922 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.4391, allocations: 4 kB / 480.8 MB, free: 8.918 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.4391, allocations: 11.98 kB / 480.8 MB, free: 8.906 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4392, allocations: 3.938 kB / 480.8 MB, free: 8.902 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4392, allocations: 0 / 480.8 MB, free: 8.902 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.4398, allocations: 466.7 kB / 481.3 MB, free: 8.43 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.4399, allocations: 120.6 kB / 481.4 MB, free: 8.293 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.4399, allocations: 4.109 kB / 481.4 MB, free: 8.289 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.4401, allocations: 15.92 kB / 481.4 MB, free: 8.273 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.4401, allocations: 19.97 kB / 481.5 MB, free: 8.254 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4401, allocations: 8 kB / 481.5 MB, free: 8.246 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0002901/0.4404, allocations: 274.1 kB / 481.7 MB, free: 7.977 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4405, allocations: 3.938 kB / 481.7 MB, free: 7.973 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003257/0.4408, allocations: 63.84 kB / 481.8 MB, free: 7.91 MB / 362.8 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.0009005/0.4417, allocations: 1.004 MB / 482.8 MB, free: 6.879 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.4421, allocations: 264.2 kB / 483.1 MB, free: 6.621 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4421, allocations: 4.312 kB / 483.1 MB, free: 6.617 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.4423, allocations: 103.9 kB / 483.2 MB, free: 6.516 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.4426, allocations: 33.55 kB / 483.2 MB, free: 6.48 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.4439, allocations: 0.7564 MB / 484 MB, free: 5.688 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.4444, allocations: 0.8418 MB / 484.8 MB, free: 4.82 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.4446, allocations: 75.23 kB / 484.9 MB, free: 4.746 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.4448, allocations: 137 kB / 485 MB, free: 4.613 MB / 362.8 MB Notification: Performance of SimCode: time 6.01e-07/0.4448, allocations: 0 / 485 MB, free: 4.613 MB / 362.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.4657, allocations: 5.899 MB / 490.9 MB, free: 14.81 MB / 378.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.4659, allocations: 174.5 kB / 491.1 MB, free: 14.59 MB / 378.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.716, allocations: 3.938 kB / 491.1 MB, free: 14.58 MB / 378.8 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)