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.008652/0.008652, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06633/0.06633, allocations: 10.74 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.828/1.828, allocations: 205.4 MB / 235.2 MB, free: 116 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.0009363/0.0009365, allocations: 85.64 kB / 285.9 MB, free: 10.72 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004116, allocations: 11.98 kB / 346.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 49.99 MB / 396.5 MB, free: 2.996 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.5065, allocations: 78.43 MB / 474.9 MB, free: 17.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/0.507, allocations: 79.14 kB / 475 MB, free: 17.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01198/0.519, allocations: 4.722 MB / 479.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.519, allocations: 0 / 479.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.519, allocations: 23.75 kB / 479.7 MB, free: 14.05 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008449/0.5199, allocations: 0.6615 MB / 480.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5199, allocations: 12.03 kB / 480.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.486e-05/0.52, allocations: 76.03 kB / 480.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.5201, allocations: 47.44 kB / 480.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.5207, allocations: 399.5 kB / 480.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.5208, allocations: 78.75 kB / 481 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.5209, allocations: 36.38 kB / 481 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.5214, allocations: 438.5 kB / 481.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.5215, allocations: 7.906 kB / 481.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.5215, allocations: 16.81 kB / 481.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.5215, allocations: 8 kB / 481.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.522, allocations: 309.8 kB / 481.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.5239, allocations: 1.564 MB / 483.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.5243, allocations: 191 kB / 483.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.5243, allocations: 8.203 kB / 483.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.5243, allocations: 38.69 kB / 483.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.5243, allocations: 0 / 483.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005623/0.5249, allocations: 353.3 kB / 483.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.5249, allocations: 59.39 kB / 484 MB, free: 10.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.5252, allocations: 347.5 kB / 484.3 MB, free: 9.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.5252, allocations: 32.45 kB / 484.4 MB, free: 9.883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.5253, allocations: 234.1 kB / 484.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.5254, allocations: 90.8 kB / 484.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.5254, allocations: 7.125 kB / 484.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.5255, allocations: 356 kB / 485 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.5257, allocations: 100.5 kB / 485.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.5259, allocations: 216.9 kB / 485.4 MB, free: 8.992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.5261, allocations: 147.9 kB / 485.5 MB, free: 8.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5261, allocations: 0 / 485.5 MB, free: 8.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005213/0.5266, allocations: 439.2 kB / 485.9 MB, free: 8.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.5267, allocations: 14.09 kB / 485.9 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5267, allocations: 8.547 kB / 486 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5267, allocations: 4 kB / 486 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.5271, allocations: 103.2 kB / 486.1 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.5271, allocations: 7.984 kB / 486.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.5272, allocations: 46.45 kB / 486.1 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.5273, allocations: 16.56 kB / 486.1 MB, free: 8.367 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 (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.000193/0.5275, allocations: 185 kB / 486.3 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.5275, allocations: 39.53 kB / 486.3 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.528, allocations: 316.9 kB / 486.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.528, allocations: 3.938 kB / 486.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.528, allocations: 3.953 kB / 486.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.528, allocations: 7.984 kB / 486.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.5284, allocations: 383.3 kB / 487 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5284, allocations: 7.125 kB / 487.1 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.5288, allocations: 67.89 kB / 487.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5288, allocations: 7.984 kB / 487.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.5288, allocations: 11.92 kB / 487.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5288, allocations: 0 / 487.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5288, allocations: 0 / 487.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.5294, allocations: 0.505 MB / 487.6 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.5295, allocations: 122.9 kB / 487.8 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.5295, allocations: 6.938 kB / 487.8 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.5297, allocations: 15.17 kB / 487.8 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.5298, allocations: 19.41 kB / 487.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.5298, allocations: 8 kB / 487.8 MB, free: 6.883 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.53, allocations: 268.5 kB / 488.1 MB, free: 6.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.53, allocations: 0 / 488.1 MB, free: 6.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.5303, allocations: 70.23 kB / 488.1 MB, free: 6.609 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 () * Number of clocked 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.000736/0.531, allocations: 1.041 MB / 489.2 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004229/0.5315, allocations: 296.1 kB / 489.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5315, allocations: 3.188 kB / 489.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.5317, allocations: 124 kB / 489.6 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.5319, allocations: 29.28 kB / 489.6 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.5349, allocations: 4.737 MB / 494.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.5352, allocations: 0.8449 MB / 495.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.5354, allocations: 75.22 kB / 495.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.5356, allocations: 144.6 kB / 495.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5356, allocations: 0 / 495.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.553, allocations: 6.007 MB / 0.4897 GB, free: 9.879 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.5533, allocations: 195.1 kB / 0.4899 GB, free: 9.641 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.604, allocations: 0 / 0.4899 GB, free: 9.641 MB / 362.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)