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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001197/0.001197, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.47/1.47, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05678/0.05678, allocations: 10.75 MB / 281.3 MB, free: 1.289 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.001411/0.001411, allocations: 65.09 kB / 391.5 MB, free: 46.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 49.04 MB / 440.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003848/0.1124, allocations: 2.087 MB / 442.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.1134, allocations: 402.8 kB / 443 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.1137, allocations: 19.88 kB / 443 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.114, allocations: 51.45 kB / 443.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.1141, allocations: 31.61 kB / 443.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.1148, allocations: 187.7 kB / 443.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006284/0.1155, allocations: 467.5 kB / 443.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.1157, allocations: 92.61 kB / 443.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1159, allocations: 151.5 kB / 444 MB, free: 352 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1162, allocations: 167.2 kB / 444.2 MB, free: 184 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.1162, allocations: 28 kB / 444.2 MB, free: 156 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.1163, allocations: 27.94 kB / 444.2 MB, free: 128 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.1165, allocations: 139.6 kB / 444.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.1167, allocations: 162.9 kB / 444.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.1173, allocations: 350.6 kB / 444.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1173, allocations: 0 / 444.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1173, allocations: 0 / 444.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.1173, allocations: 0 / 444.9 MB, free: 15.48 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001823/0.1192, allocations: 0.7091 MB / 445.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.1192, allocations: 15.89 kB / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1193, allocations: 44.38 kB / 445.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.12, allocations: 375.7 kB / 446 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.1201, allocations: 29.03 kB / 446 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.1203, allocations: 32.31 kB / 446.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009648/0.1212, allocations: 412 kB / 446.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.1213, allocations: 8.188 kB / 446.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.1213, allocations: 15.94 kB / 446.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.1214, allocations: 12 kB / 446.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007632/0.1221, allocations: 290.4 kB / 446.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/0.1251, allocations: 1.481 MB / 448.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.1256, allocations: 170.9 kB / 448.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.1259, allocations: 116.8 kB / 448.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.1259, allocations: 8 kB / 448.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.126, allocations: 42.48 kB / 448.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.126, allocations: 0 / 448.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008582/0.1268, allocations: 318.1 kB / 448.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.1269, allocations: 51.41 kB / 448.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.1275, allocations: 397.5 kB / 449.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.1275, allocations: 33.7 kB / 449.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.1277, allocations: 239.9 kB / 449.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.1278, allocations: 82.77 kB / 449.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.128, allocations: 65.69 kB / 449.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000283/0.1283, allocations: 354.7 kB / 450.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.1285, allocations: 96.16 kB / 450.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.1289, allocations: 210.1 kB / 450.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.1309, allocations: 0.5748 MB / 451 MB, free: 9.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1309, allocations: 0 / 451 MB, free: 9.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009586/0.1319, allocations: 420.6 kB / 451.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.1319, allocations: 11.94 kB / 451.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.132, allocations: 4 kB / 451.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.132, allocations: 4 kB / 451.4 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.1325, allocations: 91.88 kB / 451.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.1325, allocations: 11.94 kB / 451.5 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.1328, allocations: 51.92 kB / 451.5 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.1328, allocations: 16 kB / 451.6 MB, free: 8.398 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 (45): * Single equations (assignments): 45 * 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.0003217/0.1332, allocations: 187.7 kB / 451.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/0.1333, allocations: 47.45 kB / 451.8 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007556/0.1341, allocations: 280.7 kB / 452.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1341, allocations: 4 kB / 452.1 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1341, allocations: 0 / 452.1 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1341, allocations: 0 / 452.1 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.1347, allocations: 385.2 kB / 452.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1347, allocations: 0 / 452.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.1352, allocations: 59.97 kB / 452.5 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.1352, allocations: 7.938 kB / 452.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.1353, allocations: 11.98 kB / 452.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1353, allocations: 3.938 kB / 452.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1353, allocations: 0 / 452.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.1362, allocations: 462.8 kB / 453 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.1364, allocations: 112.6 kB / 453.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.1365, allocations: 19.92 kB / 453.1 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.1367, allocations: 11.98 kB / 453.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.1368, allocations: 11.98 kB / 453.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1368, allocations: 8 kB / 453.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003448/0.1372, allocations: 275.1 kB / 453.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1372, allocations: 192 / 453.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004236/0.1376, allocations: 67.69 kB / 453.5 MB, free: 6.387 MB / 334.1 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 (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.0001148/0.1378, allocations: 115.2 kB / 453.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004978/0.1383, allocations: 271.5 kB / 453.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1383, allocations: 0.9375 kB / 453.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.1385, allocations: 111.8 kB / 454 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1388, allocations: 45.45 kB / 454 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.1402, allocations: 0.7894 MB / 454.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.1407, allocations: 0.8343 MB / 455.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.1407, allocations: 31.44 kB / 455.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1408, allocations: 0 / 455.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of Templates: time 0.007948/0.1487, allocations: 4.211 MB / 459.9 MB, free: 15.9 MB / 350.1 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)