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: translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 174.7 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.05989/0.05989, allocations: 10.65 MB / 23.91 MB, free: 1.379 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.783/1.783, allocations: 205.2 MB / 232.1 MB, free: 12.77 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.0008288/0.0008287, allocations: 106.1 kB / 282.6 MB, free: 13.57 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.892e-05, allocations: 0 / 340.5 MB, free: 3.621 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2828, allocations: 49.98 MB / 390.5 MB, free: 35.73 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3875, allocations: 78.35 MB / 468.8 MB, free: 5.277 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.3877, allocations: 75.94 kB / 468.9 MB, free: 5.203 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01283/0.4006, allocations: 4.706 MB / 473.6 MB, free: 476 kB / 346.8 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4006, allocations: 0 / 473.6 MB, free: 476 kB / 346.8 MB Notification: Performance of Transformations before backend: time 3.083e-05/0.4006, allocations: 15.94 kB / 473.6 MB, free: 460 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.0009425/0.4016, allocations: 0.6158 MB / 474.2 MB, free: 15.79 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4017, allocations: 12.03 kB / 474.2 MB, free: 15.78 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.4018, allocations: 55.33 kB / 474.3 MB, free: 15.72 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007012/0.4025, allocations: 392.3 kB / 474.7 MB, free: 15.3 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/0.4026, allocations: 76.19 kB / 474.8 MB, free: 15.21 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.4026, allocations: 32 kB / 474.8 MB, free: 15.18 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.4033, allocations: 424 kB / 475.2 MB, free: 14.73 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.4033, allocations: 15.8 kB / 475.2 MB, free: 14.72 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.4034, allocations: 12 kB / 475.2 MB, free: 14.71 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.4034, allocations: 8 kB / 475.2 MB, free: 14.7 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.404, allocations: 279 kB / 475.5 MB, free: 14.43 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.4068, allocations: 1.569 MB / 477.1 MB, free: 12.77 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.4072, allocations: 171.1 kB / 477.2 MB, free: 12.6 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.4074, allocations: 109.2 kB / 477.3 MB, free: 12.49 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4075, allocations: 4.188 kB / 477.4 MB, free: 12.48 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4075, allocations: 38.75 kB / 477.4 MB, free: 12.44 MB / 362.8 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.4075, allocations: 0 / 477.4 MB, free: 12.44 MB / 362.8 MB Notification: Performance of matching and sorting (n=22): time 0.0004482/0.408, allocations: 242 kB / 477.6 MB, free: 12.2 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.408, allocations: 55.41 kB / 477.7 MB, free: 12.13 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.4084, allocations: 347.6 kB / 478 MB, free: 11.79 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.4085, allocations: 29.7 kB / 478 MB, free: 11.75 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.4086, allocations: 235.7 kB / 478.3 MB, free: 11.52 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.52e-05/0.4087, allocations: 90.7 kB / 478.4 MB, free: 11.43 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.4087, allocations: 8 kB / 478.4 MB, free: 11.42 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4089, allocations: 354.8 kB / 478.7 MB, free: 11.07 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.4091, allocations: 88.73 kB / 478.8 MB, free: 10.98 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.4093, allocations: 200.9 kB / 479 MB, free: 10.73 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.4095, allocations: 129.9 kB / 479.1 MB, free: 10.6 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.4095, allocations: 0 / 479.1 MB, free: 10.6 MB / 362.8 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005712/0.4101, allocations: 419.7 kB / 479.5 MB, free: 10.19 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4101, allocations: 4 kB / 479.5 MB, free: 10.18 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4102, allocations: 4 kB / 479.5 MB, free: 10.18 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4102, allocations: 8 kB / 479.6 MB, free: 10.17 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.4106, allocations: 99.83 kB / 479.7 MB, free: 10.07 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.4106, allocations: 12.41 kB / 479.7 MB, free: 10.06 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.4108, allocations: 51.52 kB / 479.7 MB, free: 10.01 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.4108, allocations: 16 kB / 479.7 MB, free: 9.996 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.0001531/0.411, allocations: 134.5 kB / 479.9 MB, free: 9.859 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.4111, allocations: 35.61 kB / 479.9 MB, free: 9.824 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.4115, allocations: 287.3 kB / 480.2 MB, free: 9.543 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4116, allocations: 4 kB / 480.2 MB, free: 9.539 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4116, allocations: 7.953 kB / 480.2 MB, free: 9.531 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4116, allocations: 3.938 kB / 480.2 MB, free: 9.527 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.412, allocations: 389.1 kB / 480.6 MB, free: 9.098 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4121, allocations: 4 kB / 480.6 MB, free: 9.094 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.4125, allocations: 71.89 kB / 480.6 MB, free: 9.023 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4125, allocations: 4 kB / 480.7 MB, free: 9.02 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.4125, allocations: 11.98 kB / 480.7 MB, free: 9.008 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4125, allocations: 0 / 480.7 MB, free: 9.008 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4125, allocations: 0 / 480.7 MB, free: 9.008 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.4131, allocations: 466.7 kB / 481.1 MB, free: 8.535 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.4132, allocations: 112.7 kB / 481.2 MB, free: 8.406 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.4133, allocations: 8.109 kB / 481.2 MB, free: 8.398 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4135, allocations: 23.92 kB / 481.3 MB, free: 8.375 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.4135, allocations: 11.97 kB / 481.3 MB, free: 8.363 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.4136, allocations: 8 kB / 481.3 MB, free: 8.355 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0002865/0.4139, allocations: 266.1 kB / 481.5 MB, free: 8.094 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4139, allocations: 0 / 481.5 MB, free: 8.094 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003092/0.4142, allocations: 71.7 kB / 481.6 MB, free: 8.023 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.0001607/0.4143, allocations: 108.1 kB / 481.7 MB, free: 7.906 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.4148, allocations: 263.8 kB / 482 MB, free: 7.648 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4148, allocations: 0 / 482 MB, free: 7.648 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.4149, allocations: 115.8 kB / 482.1 MB, free: 7.535 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.4152, allocations: 31.41 kB / 482.1 MB, free: 7.504 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4162, allocations: 0.6426 MB / 482.8 MB, free: 6.84 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.4167, allocations: 0.8457 MB / 483.6 MB, free: 5.969 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.4169, allocations: 79.22 kB / 483.7 MB, free: 5.891 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.417, allocations: 27.44 kB / 483.7 MB, free: 5.863 MB / 362.8 MB Notification: Performance of SimCode: time 3.61e-07/0.417, allocations: 0 / 483.7 MB, free: 5.863 MB / 362.8 MB Notification: Performance of Templates: time 0.005679/0.4227, allocations: 2.133 MB / 485.8 MB, free: 3.754 MB / 362.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)