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: translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 170.1 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06087/0.06087, allocations: 10.76 MB / 27.63 MB, free: 1.785 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.516/1.516, allocations: 205.4 MB / 236.2 MB, free: 10.17 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.0008334/0.0008334, allocations: 89.78 kB / 287 MB, free: 12.39 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 12 kB / 347.6 MB, free: 15.62 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2119, allocations: 50 MB / 397.6 MB, free: 34.6 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09277/0.3047, allocations: 78.58 MB / 476.2 MB, free: 3.914 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.305, allocations: 71.95 kB / 476.3 MB, free: 3.844 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.3186, allocations: 4.81 MB / 481.1 MB, free: 15 MB / 362.8 MB Notification: Performance of FrontEnd: time 3.356e-06/0.3186, allocations: 0 / 481.1 MB, free: 15 MB / 362.8 MB Notification: Performance of Transformations before backend: time 3.178e-05/0.3187, allocations: 15.94 kB / 481.1 MB, free: 14.99 MB / 362.8 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.001087/0.3198, allocations: 0.6552 MB / 481.7 MB, free: 14.28 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3198, allocations: 8.031 kB / 481.8 MB, free: 14.27 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.32, allocations: 52.28 kB / 481.8 MB, free: 14.22 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.3206, allocations: 408.7 kB / 482.2 MB, free: 13.78 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.3207, allocations: 29.36 kB / 482.2 MB, free: 13.75 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.3208, allocations: 40.28 kB / 482.3 MB, free: 13.71 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.3215, allocations: 447.1 kB / 482.7 MB, free: 13.25 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.3215, allocations: 3.938 kB / 482.7 MB, free: 13.24 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.3216, allocations: 20 kB / 482.7 MB, free: 13.22 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3216, allocations: 8 kB / 482.7 MB, free: 13.21 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.3222, allocations: 310.4 kB / 483 MB, free: 12.91 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.3245, allocations: 1.547 MB / 484.6 MB, free: 11.29 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/0.3252, allocations: 237.9 kB / 484.8 MB, free: 11.05 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.3254, allocations: 129.2 kB / 485 MB, free: 10.92 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.3255, allocations: 7.938 kB / 485 MB, free: 10.91 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3255, allocations: 46.42 kB / 485 MB, free: 10.86 MB / 362.8 MB Notification: Performance of pre-optimization done (n=25): time 3.366e-06/0.3255, allocations: 0 / 485 MB, free: 10.86 MB / 362.8 MB Notification: Performance of matching and sorting (n=25): time 0.0007108/0.3263, allocations: 370.5 kB / 485.4 MB, free: 10.49 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3263, allocations: 55.41 kB / 485.4 MB, free: 10.42 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.3267, allocations: 397.5 kB / 485.8 MB, free: 10.03 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3267, allocations: 29.7 kB / 485.8 MB, free: 9.992 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3269, allocations: 236 kB / 486.1 MB, free: 9.758 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.327, allocations: 102.5 kB / 486.2 MB, free: 9.656 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.327, allocations: 4 kB / 486.2 MB, free: 9.652 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3271, allocations: 354.8 kB / 486.5 MB, free: 9.297 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.3273, allocations: 112.4 kB / 486.6 MB, free: 9.184 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.3276, allocations: 224.5 kB / 486.8 MB, free: 8.914 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.3294, allocations: 0.6847 MB / 487.5 MB, free: 8.18 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3294, allocations: 4 kB / 487.5 MB, free: 8.176 MB / 362.8 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007593/0.3302, allocations: 460.3 kB / 488 MB, free: 7.719 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3302, allocations: 8.469 kB / 488 MB, free: 7.711 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3302, allocations: 8 kB / 488 MB, free: 7.703 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3303, allocations: 4 kB / 488 MB, free: 7.699 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.3306, allocations: 103.9 kB / 488.1 MB, free: 7.598 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.3307, allocations: 7.938 kB / 488.1 MB, free: 7.59 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3309, allocations: 55.52 kB / 488.2 MB, free: 7.535 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.3309, allocations: 19.98 kB / 488.2 MB, free: 7.516 MB / 362.8 MB Warning: Assuming fixed start value for the following 9 variables: 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 ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.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.0002845/0.3312, allocations: 191.6 kB / 488.4 MB, free: 7.32 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.3313, allocations: 43.41 kB / 488.4 MB, free: 7.277 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006304/0.3319, allocations: 342 kB / 488.8 MB, free: 6.934 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.332, allocations: 7.984 kB / 488.8 MB, free: 6.926 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.332, allocations: 0 / 488.8 MB, free: 6.926 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.332, allocations: 4 kB / 488.8 MB, free: 6.922 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.3325, allocations: 401.2 kB / 489.2 MB, free: 6.48 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3325, allocations: 0 / 489.2 MB, free: 6.48 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.3329, allocations: 83.81 kB / 489.2 MB, free: 6.398 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3329, allocations: 0 / 489.2 MB, free: 6.398 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.333, allocations: 8 kB / 489.2 MB, free: 6.391 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.333, allocations: 4 kB / 489.2 MB, free: 6.387 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.333, allocations: 0 / 489.2 MB, free: 6.387 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008173/0.3338, allocations: 0.5392 MB / 489.8 MB, free: 5.828 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3339, allocations: 120.5 kB / 489.9 MB, free: 5.691 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.334, allocations: 4 kB / 489.9 MB, free: 5.688 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.3342, allocations: 23.92 kB / 489.9 MB, free: 5.664 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.3342, allocations: 23.97 kB / 490 MB, free: 5.641 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3343, allocations: 4 kB / 490 MB, free: 5.637 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0003065/0.3346, allocations: 275.1 kB / 490.2 MB, free: 5.367 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3346, allocations: 4 kB / 490.2 MB, free: 5.363 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.000363/0.335, allocations: 63.84 kB / 490.3 MB, free: 5.301 MB / 362.8 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.0001559/0.3351, allocations: 107.2 kB / 490.4 MB, free: 5.188 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.000591/0.3357, allocations: 311.6 kB / 490.7 MB, free: 4.883 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3357, allocations: 0.9375 kB / 490.7 MB, free: 4.883 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.336, allocations: 139.9 kB / 490.8 MB, free: 4.746 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.3364, allocations: 41.66 kB / 490.9 MB, free: 4.707 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.338, allocations: 0.9556 MB / 491.8 MB, free: 3.727 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.3385, allocations: 0.846 MB / 492.7 MB, free: 2.852 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.3387, allocations: 75.22 kB / 492.8 MB, free: 2.777 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.3388, allocations: 31.44 kB / 492.8 MB, free: 2.746 MB / 362.8 MB Notification: Performance of SimCode: time 2.91e-07/0.3388, allocations: 0 / 492.8 MB, free: 2.746 MB / 362.8 MB Notification: Performance of Templates: time 0.006458/0.3453, allocations: 2.272 MB / 495.1 MB, free: 492 kB / 362.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)