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.001054/0.001054, allocations: 174.6 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.05535/0.05535, allocations: 10.66 MB / 23.92 MB, free: 1.375 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.615/1.615, allocations: 205.2 MB / 232.1 MB, free: 12.83 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.0009467/0.0009467, allocations: 90.66 kB / 282.6 MB, free: 13.59 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 4.955e-05/4.959e-05, allocations: 4 kB / 340.5 MB, free: 3.633 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3665, allocations: 49.99 MB / 390.5 MB, free: 35.74 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.485, allocations: 78.45 MB / 468.9 MB, free: 5.176 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4853, allocations: 75.95 kB / 469 MB, free: 5.102 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.4996, allocations: 4.773 MB / 473.8 MB, free: 304 kB / 346.8 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4996, allocations: 0 / 473.8 MB, free: 304 kB / 346.8 MB Notification: Performance of Transformations before backend: time 6.067e-05/0.4997, allocations: 20 kB / 473.8 MB, free: 284 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001422/0.5011, allocations: 0.6195 MB / 474.4 MB, free: 15.61 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.628e-05/0.5012, allocations: 8.031 kB / 474.4 MB, free: 15.61 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.5014, allocations: 51.44 kB / 474.5 MB, free: 15.55 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009472/0.5024, allocations: 392.1 kB / 474.9 MB, free: 15.13 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.5025, allocations: 20.78 kB / 474.9 MB, free: 15.11 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-05/0.5026, allocations: 43.98 kB / 474.9 MB, free: 15.07 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.5033, allocations: 420 kB / 475.3 MB, free: 14.62 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.5034, allocations: 4 kB / 475.3 MB, free: 14.62 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.5034, allocations: 15.95 kB / 475.3 MB, free: 14.61 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.5034, allocations: 8 kB / 475.4 MB, free: 14.6 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.504, allocations: 283 kB / 475.6 MB, free: 14.32 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.507, allocations: 1.552 MB / 477.2 MB, free: 12.69 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.5079, allocations: 216.4 kB / 477.4 MB, free: 12.47 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.5081, allocations: 114.1 kB / 477.5 MB, free: 12.36 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/0.5082, allocations: 11.92 kB / 477.5 MB, free: 12.34 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.5082, allocations: 34.56 kB / 477.6 MB, free: 12.3 MB / 362.8 MB Notification: Performance of pre-optimization done (n=25): time 2.495e-06/0.5082, allocations: 0 / 477.6 MB, free: 12.3 MB / 362.8 MB Notification: Performance of matching and sorting (n=25): time 0.0006167/0.5088, allocations: 253.7 kB / 477.8 MB, free: 12.05 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.5089, allocations: 55.41 kB / 477.9 MB, free: 11.98 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.5095, allocations: 350.8 kB / 478.2 MB, free: 11.63 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.5096, allocations: 29.7 kB / 478.2 MB, free: 11.6 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.5098, allocations: 239.9 kB / 478.5 MB, free: 11.36 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.5099, allocations: 94.69 kB / 478.6 MB, free: 11.27 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.51, allocations: 8 kB / 478.6 MB, free: 11.26 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.5102, allocations: 354.8 kB / 478.9 MB, free: 10.9 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.5104, allocations: 100.4 kB / 479 MB, free: 10.8 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.5107, allocations: 200.5 kB / 479.2 MB, free: 10.55 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.511, allocations: 135.2 kB / 479.3 MB, free: 10.42 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.511, allocations: 4 kB / 479.3 MB, free: 10.42 MB / 362.8 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00074/0.5118, allocations: 436.6 kB / 479.8 MB, free: 9.984 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.5118, allocations: 5.406 kB / 479.8 MB, free: 9.98 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5119, allocations: 7.984 kB / 479.8 MB, free: 9.973 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.141e-05/0.5119, allocations: 8 kB / 479.8 MB, free: 9.965 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.5124, allocations: 103.9 kB / 479.9 MB, free: 9.863 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.537e-05/0.5124, allocations: 7.938 kB / 479.9 MB, free: 9.855 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.5127, allocations: 51.52 kB / 479.9 MB, free: 9.805 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.5127, allocations: 16 kB / 480 MB, free: 9.789 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 (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.0003029/0.513, allocations: 146.4 kB / 480.1 MB, free: 9.637 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.5131, allocations: 35.53 kB / 480.1 MB, free: 9.602 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.5139, allocations: 318.4 kB / 480.4 MB, free: 9.289 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.5139, allocations: 7.984 kB / 480.5 MB, free: 9.281 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.5139, allocations: 0 / 480.5 MB, free: 9.281 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.5139, allocations: 3.938 kB / 480.5 MB, free: 9.277 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006908/0.5146, allocations: 409.1 kB / 480.9 MB, free: 8.828 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5146, allocations: 0 / 480.9 MB, free: 8.828 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.5151, allocations: 79.89 kB / 480.9 MB, free: 8.75 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5151, allocations: 4 kB / 480.9 MB, free: 8.746 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.5151, allocations: 15.92 kB / 481 MB, free: 8.73 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.5151, allocations: 0 / 481 MB, free: 8.73 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5151, allocations: 4 kB / 481 MB, free: 8.727 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.5158, allocations: 0.4886 MB / 481.4 MB, free: 8.219 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.516, allocations: 124.5 kB / 481.6 MB, free: 8.078 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.516, allocations: 8 kB / 481.6 MB, free: 8.07 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.5162, allocations: 19.98 kB / 481.6 MB, free: 8.051 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.5163, allocations: 19.97 kB / 481.6 MB, free: 8.031 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.5163, allocations: 4 kB / 481.6 MB, free: 8.027 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0003114/0.5166, allocations: 273.2 kB / 481.9 MB, free: 7.762 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5166, allocations: 0 / 481.9 MB, free: 7.762 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003374/0.517, allocations: 63.84 kB / 481.9 MB, free: 7.699 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 () * 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.0001959/0.5172, allocations: 110.4 kB / 482.1 MB, free: 7.582 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0004833/0.5176, allocations: 279.7 kB / 482.3 MB, free: 7.309 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5177, allocations: 0 / 482.3 MB, free: 7.309 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.5178, allocations: 123.9 kB / 482.5 MB, free: 7.188 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.5181, allocations: 37.72 kB / 482.5 MB, free: 7.152 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.5192, allocations: 0.6668 MB / 483.2 MB, free: 6.465 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.5197, allocations: 0.8421 MB / 484 MB, free: 5.598 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0002079/0.5199, allocations: 75.22 kB / 484.1 MB, free: 5.523 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.52, allocations: 35.44 kB / 484.1 MB, free: 5.488 MB / 362.8 MB Notification: Performance of SimCode: time 2.4e-07/0.52, allocations: 0 / 484.1 MB, free: 5.488 MB / 362.8 MB Notification: Performance of Templates: time 0.006366/0.5263, allocations: 2.272 MB / 486.4 MB, free: 3.242 MB / 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)