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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01167/0.01167, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05534/0.05534, allocations: 10.75 MB / 281.5 MB, free: 10.45 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006219/0.0006219, allocations: 12 kB / 342.2 MB, free: 23.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1343, allocations: 50.01 MB / 392.2 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002662/0.1371, allocations: 1.804 MB / 394 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1382, allocations: 0.5259 MB / 394.6 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1383, allocations: 7.938 kB / 394.6 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.1385, allocations: 43.66 kB / 394.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.92e-05/0.1386, allocations: 23.8 kB / 394.6 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.1391, allocations: 223.6 kB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000521/0.1397, allocations: 491.7 kB / 395.3 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.1399, allocations: 84.66 kB / 395.4 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.1401, allocations: 147.3 kB / 395.6 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.1403, allocations: 167.1 kB / 395.7 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.1403, allocations: 12 kB / 395.7 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.1404, allocations: 20 kB / 395.8 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1405, allocations: 107.6 kB / 395.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.1408, allocations: 180.5 kB / 396 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.1412, allocations: 338.9 kB / 396.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1412, allocations: 0 / 396.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1412, allocations: 3.938 kB / 396.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1412, allocations: 0 / 396.4 MB, free: 1.262 MB / 286.1 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.001126/0.1424, allocations: 0.6472 MB / 397 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1424, allocations: 12.03 kB / 397 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.1425, allocations: 44.38 kB / 397.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.143, allocations: 359.7 kB / 397.4 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.143, allocations: 29.38 kB / 397.5 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.1431, allocations: 44.36 kB / 397.5 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/0.1438, allocations: 424.5 kB / 397.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.1438, allocations: 16.02 kB / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.1439, allocations: 15.94 kB / 398 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.1439, allocations: 12 kB / 398 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.1445, allocations: 314.4 kB / 398.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.1466, allocations: 1.555 MB / 399.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.1474, allocations: 234.5 kB / 400.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.1476, allocations: 124.8 kB / 400.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.1477, allocations: 7.984 kB / 400.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1477, allocations: 38.5 kB / 400.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 3.065e-06/0.1477, allocations: 3.938 kB / 400.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007411/0.1485, allocations: 374 kB / 400.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1485, allocations: 51.41 kB / 400.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.1489, allocations: 405.5 kB / 401 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.149, allocations: 29.7 kB / 401.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.1492, allocations: 244 kB / 401.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.1493, allocations: 90.62 kB / 401.4 MB, free: 12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.1494, allocations: 49.69 kB / 401.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.1496, allocations: 346.8 kB / 401.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.1498, allocations: 116.4 kB / 401.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.1501, allocations: 224.5 kB / 402.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.1521, allocations: 0.6906 MB / 402.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1521, allocations: 0 / 402.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007435/0.1528, allocations: 464.3 kB / 403.3 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.1529, allocations: 11.94 kB / 403.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1529, allocations: 4.469 kB / 403.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.1529, allocations: 8 kB / 403.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.1533, allocations: 103.9 kB / 403.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.1534, allocations: 11.94 kB / 403.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.1535, allocations: 47.52 kB / 403.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1536, allocations: 20 kB / 403.5 MB, free: 9.801 MB / 302.1 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] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.1538, allocations: 195.6 kB / 403.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.1539, allocations: 39.47 kB / 403.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007045/0.1546, allocations: 353.7 kB / 404 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1546, allocations: 4 kB / 404 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1547, allocations: 0 / 404 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1547, allocations: 7.984 kB / 404 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.1551, allocations: 393.2 kB / 404.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1551, allocations: 0 / 404.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.1556, allocations: 83.89 kB / 404.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1556, allocations: 3.938 kB / 404.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.1556, allocations: 11.98 kB / 404.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1556, allocations: 0 / 404.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1556, allocations: 4 kB / 404.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.1564, allocations: 0.5314 MB / 405.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.1565, allocations: 128.5 kB / 405.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.1566, allocations: 8 kB / 405.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1567, allocations: 15.98 kB / 405.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.1568, allocations: 23.91 kB / 405.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1568, allocations: 8 kB / 405.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.1571, allocations: 275.1 kB / 405.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1571, allocations: 0 / 405.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.1574, allocations: 67.84 kB / 405.6 MB, free: 7.574 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.1576, allocations: 107.2 kB / 405.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.1581, allocations: 319.6 kB / 406 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1581, allocations: 0.9375 kB / 406 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.1584, allocations: 135.9 kB / 406.1 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1587, allocations: 41.34 kB / 406.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.1602, allocations: 0.9946 MB / 407.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.1607, allocations: 0.8421 MB / 408 MB, free: 5.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.1609, allocations: 79.16 kB / 408.1 MB, free: 5.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.161, allocations: 35.53 kB / 408.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.161, allocations: 3.938 kB / 408.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of Templates: time 0.006405/0.1674, allocations: 2.315 MB / 410.4 MB, free: 2.66 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: