Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009468/0.009468, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08265/0.08265, 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.491/1.491, allocations: 205.4 MB / 235.2 MB, free: 168 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.0008151/0.000815, allocations: 94.34 kB / 285.9 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 11.98 kB / 346.4 MB, free: 5.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1032, allocations: 50 MB / 396.4 MB, free: 3.074 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3032/0.4064, allocations: 78.08 MB / 474.5 MB, free: 17.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.4067, allocations: 69.97 kB / 474.5 MB, free: 17.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01127/0.418, allocations: 4.517 MB / 479.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.418, allocations: 4 kB / 479.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.821e-05/0.4181, allocations: 11.98 kB / 479.1 MB, free: 14.26 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.0007891/0.4189, allocations: 0.6559 MB / 479.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4189, allocations: 8.031 kB / 479.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.419, allocations: 47.44 kB / 479.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.4195, allocations: 377.5 kB / 480.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.4195, allocations: 27.94 kB / 480.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.4196, allocations: 37.81 kB / 480.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.4201, allocations: 414.4 kB / 480.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.4202, allocations: 11.84 kB / 480.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.4202, allocations: 14.14 kB / 480.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.4202, allocations: 15.98 kB / 480.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.4207, allocations: 299.6 kB / 481 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.4224, allocations: 1.496 MB / 482.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.4228, allocations: 185.5 kB / 482.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.4228, allocations: 4.188 kB / 482.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.4229, allocations: 30.75 kB / 482.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.4229, allocations: 0 / 482.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005212/0.4234, allocations: 338.6 kB / 483 MB, free: 10.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.4234, allocations: 51.41 kB / 483.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.4237, allocations: 351.5 kB / 483.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4237, allocations: 28.89 kB / 483.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.4238, allocations: 240.4 kB / 483.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.4239, allocations: 88.8 kB / 483.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.4239, allocations: 7.188 kB / 483.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.424, allocations: 357.4 kB / 484.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.4241, allocations: 100 kB / 484.2 MB, free: 9.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.4243, allocations: 206 kB / 484.4 MB, free: 9.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.4246, allocations: 129.2 kB / 484.5 MB, free: 9.355 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4246, allocations: 7.938 kB / 484.5 MB, free: 9.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000522/0.4252, allocations: 429.5 kB / 485 MB, free: 9.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4252, allocations: 4 kB / 485 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4252, allocations: 4 kB / 485 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4252, allocations: 8 kB / 485 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.4255, allocations: 94.75 kB / 485.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.4255, allocations: 7.938 kB / 485.1 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.4257, allocations: 51.39 kB / 485.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.4257, allocations: 15.16 kB / 485.1 MB, free: 8.844 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 (45): * Single equations (assignments): 45 * 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.0001902/0.4259, allocations: 196.6 kB / 485.3 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.426, allocations: 39.52 kB / 485.4 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.4264, allocations: 293.5 kB / 485.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4264, allocations: 4 kB / 485.7 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4264, allocations: 0 / 485.7 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4265, allocations: 0 / 485.7 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.4268, allocations: 389.6 kB / 486 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4268, allocations: 0 / 486 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.4271, allocations: 55.97 kB / 486.1 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4271, allocations: 0 / 486.1 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.4271, allocations: 18.05 kB / 486.1 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4271, allocations: 3.938 kB / 486.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4271, allocations: 0 / 486.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.4276, allocations: 498.6 kB / 486.6 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.4277, allocations: 108.2 kB / 486.7 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.4278, allocations: 11.42 kB / 486.7 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.4279, allocations: 14.55 kB / 486.7 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.428, allocations: 15.36 kB / 486.7 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.428, allocations: 8 kB / 486.8 MB, free: 7.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001993/0.4282, allocations: 271.4 kB / 487 MB, free: 7.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4282, allocations: 0 / 487 MB, free: 7.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.4285, allocations: 69.38 kB / 487.1 MB, free: 7.129 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.0001111/0.4287, allocations: 109.6 kB / 487.2 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004145/0.4291, allocations: 280.2 kB / 487.5 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4291, allocations: 0 / 487.5 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.4292, allocations: 117.8 kB / 487.6 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.4295, allocations: 40.91 kB / 487.6 MB, free: 6.691 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.4304, allocations: 0.8741 MB / 488.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.4307, allocations: 0.8377 MB / 489.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.4308, allocations: 74.91 kB / 489.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.4309, allocations: 27.44 kB / 489.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4309, allocations: 0 / 489.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of Templates: time 0.00453/0.4354, allocations: 2.041 MB / 491.5 MB, free: 2.871 MB / 346.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)