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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.0009471/0.000947, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006318/0.006319, allocations: 174 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.1999/0.1999, allocations: 11.15 MB / 302.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 8 kB / 366.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1122, allocations: 52.99 MB / 419.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002654/0.1149, allocations: 1.874 MB / 421.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.116, allocations: 440 kB / 421.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.1163, allocations: 11.88 kB / 421.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1166, allocations: 43.59 kB / 421.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.1167, allocations: 19.8 kB / 421.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.1174, allocations: 203.7 kB / 421.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006454/0.118, allocations: 484.3 kB / 422.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1183, allocations: 92.8 kB / 422.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.1185, allocations: 139.3 kB / 422.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.1188, allocations: 163.2 kB / 422.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.1189, allocations: 15.98 kB / 422.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.844e-05/0.1189, allocations: 12 kB / 422.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.119, allocations: 111.6 kB / 422.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.1192, allocations: 184.5 kB / 423.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.1195, allocations: 346.8 kB / 423.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1195, allocations: 0 / 423.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1196, allocations: 4 kB / 423.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1196, allocations: 0 / 423.4 MB, free: 1.211 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001132/0.1207, allocations: 0.6667 MB / 424.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1208, allocations: 12.03 kB / 424.1 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1209, allocations: 52.28 kB / 424.2 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.1214, allocations: 371.6 kB / 424.5 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2037/0.3251, allocations: 27.83 kB / 424.5 MB, free: 39.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.3253, allocations: 35.59 kB / 424.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3265, allocations: 462.4 kB / 425 MB, free: 39.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.3266, allocations: 6.328 kB / 425 MB, free: 39.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.3266, allocations: 15.62 kB / 425.1 MB, free: 39.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.3267, allocations: 10.56 kB / 425.1 MB, free: 39.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009473/0.3276, allocations: 328.8 kB / 425.4 MB, free: 39.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/0.3313, allocations: 1.9 MB / 427.3 MB, free: 38.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.3319, allocations: 191.9 kB / 427.5 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.3323, allocations: 112.4 kB / 427.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.3323, allocations: 2.906 kB / 427.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3324, allocations: 34.81 kB / 427.6 MB, free: 38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.3324, allocations: 2.406 kB / 427.6 MB, free: 38 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001043/0.3334, allocations: 338.9 kB / 428 MB, free: 37.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.3335, allocations: 54.19 kB / 428 MB, free: 37.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/0.3341, allocations: 426.7 kB / 428.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3341, allocations: 29.2 kB / 428.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.3343, allocations: 264.3 kB / 428.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.051e-05/0.3344, allocations: 81 kB / 428.8 MB, free: 37.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.3345, allocations: 48.06 kB / 428.8 MB, free: 37.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.3346, allocations: 358.5 kB / 429.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.3349, allocations: 105.2 kB / 429.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.3354, allocations: 250.9 kB / 429.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.3377, allocations: 0.6472 MB / 430.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3378, allocations: 2.75 kB / 430.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009468/0.3387, allocations: 468.1 kB / 430.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3388, allocations: 7.438 kB / 430.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.3388, allocations: 9.688 kB / 430.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.3388, allocations: 7.031 kB / 430.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.3393, allocations: 98.5 kB / 430.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.3394, allocations: 8.906 kB / 430.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3397, allocations: 56.45 kB / 430.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.3397, allocations: 22.28 kB / 430.8 MB, free: 36.7 MB / 350.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: 22 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_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.000312/0.3401, allocations: 195.1 kB / 431 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/0.3402, allocations: 42.02 kB / 431.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007535/0.3409, allocations: 295.6 kB / 431.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.341, allocations: 4.422 kB / 431.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.341, allocations: 0.7031 kB / 431.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.341, allocations: 9.391 kB / 431.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.3416, allocations: 403.3 kB / 431.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3416, allocations: 0 / 431.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.3421, allocations: 54.95 kB / 431.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3421, allocations: 3.219 kB / 431.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.3422, allocations: 12.8 kB / 431.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3422, allocations: 0.875 kB / 431.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3422, allocations: 0 / 431.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008195/0.343, allocations: 497.1 kB / 432.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.3431, allocations: 112.9 kB / 432.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.3432, allocations: 6.719 kB / 432.5 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.3434, allocations: 20.69 kB / 432.5 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.3435, allocations: 16.47 kB / 432.5 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3435, allocations: 3.844 kB / 432.5 MB, free: 36.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003105/0.3438, allocations: 291.1 kB / 432.8 MB, free: 35.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3438, allocations: 0 / 432.8 MB, free: 35.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005344/0.3444, allocations: 75.53 kB / 432.8 MB, free: 35.91 MB / 350.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.0001157/0.3445, allocations: 108.5 kB / 433 MB, free: 35.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006166/0.3451, allocations: 294 kB / 433.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3451, allocations: 0 / 433.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.3454, allocations: 116.7 kB / 433.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3458, allocations: 41.03 kB / 433.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.3473, allocations: 0.9821 MB / 434.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3476, allocations: 0.8401 MB / 435.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.3478, allocations: 73.73 kB / 435.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.3479, allocations: 33.58 kB / 435.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3479, allocations: 0 / 435.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of Templates: time 0.005534/0.3534, allocations: 2.188 MB / 437.5 MB, free: 34.38 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)