Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001935/0.001935, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.524/1.524, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05619/0.05619, allocations: 10.75 MB / 281.3 MB, free: 1.301 MB / 222.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.001468/0.001468, allocations: 69.09 kB / 391.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 49.02 MB / 440.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002917/0.1059, allocations: 2.193 MB / 442.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1073, allocations: 0.6823 MB / 443.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.1076, allocations: 19.81 kB / 443.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1079, allocations: 55.41 kB / 443.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.1082, allocations: 43.55 kB / 443.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.1091, allocations: 335.3 kB / 443.8 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007312/0.1098, allocations: 0.5704 MB / 444.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.1101, allocations: 100.9 kB / 444.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.1105, allocations: 219.3 kB / 444.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.1109, allocations: 203 kB / 444.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-05/0.111, allocations: 32 kB / 445 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.111, allocations: 36 kB / 445 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.1112, allocations: 139.6 kB / 445.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.1114, allocations: 206.6 kB / 445.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.1119, allocations: 410.4 kB / 445.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1119, allocations: 0 / 445.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1119, allocations: 3.938 kB / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.112, allocations: 4 kB / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001511/0.1135, allocations: 0.7756 MB / 446.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1135, allocations: 11.89 kB / 446.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.1136, allocations: 56.28 kB / 446.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.1143, allocations: 429.8 kB / 447 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/0.1144, allocations: 80.97 kB / 447.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.929e-05/0.1145, allocations: 48.27 kB / 447.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008034/0.1153, allocations: 461.2 kB / 447.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.1153, allocations: 11.88 kB / 447.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1154, allocations: 16 kB / 447.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1154, allocations: 8 kB / 447.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.1161, allocations: 355.6 kB / 448 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.119, allocations: 1.682 MB / 449.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/0.1199, allocations: 294.5 kB / 449.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.1202, allocations: 177.3 kB / 450.1 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.1203, allocations: 4.281 kB / 450.1 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1203, allocations: 38.78 kB / 450.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/0.1203, allocations: 0 / 450.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.000841/0.1211, allocations: 447.9 kB / 450.6 MB, free: 9.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1212, allocations: 59.41 kB / 450.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.1217, allocations: 421.8 kB / 451.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.1217, allocations: 29.7 kB / 451.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.1219, allocations: 251.9 kB / 451.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1221, allocations: 126.2 kB / 451.5 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.1222, allocations: 86.12 kB / 451.5 MB, free: 8.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1224, allocations: 358.8 kB / 451.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.1226, allocations: 128.9 kB / 452 MB, free: 8.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.123, allocations: 254.6 kB / 452.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.1252, allocations: 0.8006 MB / 453.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.1252, allocations: 4 kB / 453.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000828/0.1261, allocations: 0.5087 MB / 453.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.1261, allocations: 13.97 kB / 453.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1261, allocations: 0 / 453.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.1261, allocations: 11.94 kB / 453.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.1267, allocations: 123.9 kB / 453.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.1267, allocations: 7.938 kB / 453.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.127, allocations: 59.8 kB / 453.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.127, allocations: 16 kB / 453.8 MB, free: 6.125 MB / 334.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 (61): * Single equations (assignments): 61 * 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.0002873/0.1273, allocations: 203.5 kB / 454 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/0.1274, allocations: 43.47 kB / 454 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/0.1281, allocations: 405.7 kB / 454.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.1282, allocations: 4 kB / 454.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1282, allocations: 0 / 454.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1282, allocations: 4 kB / 454.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.1287, allocations: 449.1 kB / 454.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1287, allocations: 0 / 454.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/0.1293, allocations: 95.88 kB / 455 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.1293, allocations: 3.938 kB / 455 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.1294, allocations: 15.98 kB / 455 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1294, allocations: 0 / 455 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1294, allocations: 0 / 455 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/0.1303, allocations: 0.6249 MB / 455.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1304, allocations: 120.4 kB / 455.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.1305, allocations: 15.98 kB / 455.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1307, allocations: 15.98 kB / 455.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.1308, allocations: 23.97 kB / 455.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1308, allocations: 8 kB / 455.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003095/0.1311, allocations: 291.1 kB / 456.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1311, allocations: 4 kB / 456.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003908/0.1315, allocations: 75.84 kB / 456.2 MB, free: 3.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.0001518/0.1317, allocations: 115.1 kB / 456.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000694/0.1324, allocations: 372.2 kB / 456.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1324, allocations: 0 / 456.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.1327, allocations: 171.9 kB / 456.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.1331, allocations: 49.48 kB / 456.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.1346, allocations: 0.9835 MB / 457.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.1351, allocations: 0.8586 MB / 458.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.1353, allocations: 43.42 kB / 458.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1353, allocations: 0 / 458.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of Templates: time 0.008773/0.1441, allocations: 5.117 MB / 463.9 MB, free: 11.9 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1)