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.001023/0.001024, allocations: 119.5 kB / 16.42 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.001094/0.001094, allocations: 187.9 kB / 17.35 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.338/1.338, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0601/0.0601, allocations: 10.73 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.001418/0.001418, allocations: 68.28 kB / 391.5 MB, free: 45.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.08612, allocations: 49.04 MB / 440.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002782/0.08895, allocations: 2.091 MB / 442.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007533/0.08972, allocations: 398.8 kB / 443 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.08988, allocations: 11.94 kB / 443 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.09009, allocations: 55.45 kB / 443.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.09019, allocations: 39.61 kB / 443.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.09064, allocations: 191.6 kB / 443.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.09101, allocations: 459.6 kB / 443.8 MB, free: 484 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.09119, allocations: 96.56 kB / 443.9 MB, free: 388 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.09133, allocations: 159.4 kB / 444 MB, free: 228 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.09151, allocations: 167.2 kB / 444.2 MB, free: 60 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.09157, allocations: 28 kB / 444.2 MB, free: 32 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.925e-05/0.09161, allocations: 24 kB / 444.2 MB, free: 8 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.09178, allocations: 123.8 kB / 444.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.09193, allocations: 162.9 kB / 444.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.09228, allocations: 346.5 kB / 444.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.09229, allocations: 8 kB / 444.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.0923, allocations: 4 kB / 444.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.09231, allocations: 0 / 444.9 MB, free: 15.38 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.001005/0.09332, allocations: 0.7052 MB / 445.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.09337, allocations: 11.89 kB / 445.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.09345, allocations: 52.38 kB / 445.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.09393, allocations: 371.7 kB / 446 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.09397, allocations: 21.03 kB / 446 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.09403, allocations: 40.38 kB / 446.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.09465, allocations: 404 kB / 446.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.09468, allocations: 192 / 446.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.09472, allocations: 19.94 kB / 446.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.09473, allocations: 8 kB / 446.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.09525, allocations: 290.4 kB / 446.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.09739, allocations: 1.493 MB / 448.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.0978, allocations: 186.1 kB / 448.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.098, allocations: 112.8 kB / 448.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.09804, allocations: 0 / 448.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.09807, allocations: 42.55 kB / 448.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.263e-06/0.09808, allocations: 4 kB / 448.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006208/0.09871, allocations: 310.1 kB / 448.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.09875, allocations: 55.41 kB / 448.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/0.09917, allocations: 401.4 kB / 449.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.0992, allocations: 33.7 kB / 449.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.09935, allocations: 239.9 kB / 449.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.09942, allocations: 82.75 kB / 449.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.09951, allocations: 65.7 kB / 449.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.09966, allocations: 354.7 kB / 450.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.09985, allocations: 104.2 kB / 450.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.1001, allocations: 202.2 kB / 450.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.1015, allocations: 0.5825 MB / 451 MB, free: 8.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1015, allocations: 0 / 451 MB, free: 8.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006101/0.1021, allocations: 409.1 kB / 451.4 MB, free: 8.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1022, allocations: 18.06 kB / 451.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1022, allocations: 7.938 kB / 451.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1022, allocations: 4 kB / 451.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.1025, allocations: 91.81 kB / 451.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.1026, allocations: 4 kB / 451.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1027, allocations: 51.52 kB / 451.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.1028, allocations: 15.94 kB / 451.6 MB, free: 8.297 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.0002207/0.103, allocations: 195.6 kB / 451.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.1031, allocations: 35.53 kB / 451.8 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.1036, allocations: 292.7 kB / 452.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1036, allocations: 3.984 kB / 452.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1036, allocations: 0 / 452.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.1037, allocations: 116.6 kB / 452.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.1037, allocations: 8 kB / 452.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1039, allocations: 15.98 kB / 452.2 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.104, allocations: 15.97 kB / 452.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008092/0.1048, allocations: 396.4 kB / 452.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007434/0.1055, allocations: 0.576 MB / 453.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001934/0.1057, allocations: 120.4 kB / 453.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.106, allocations: 271.1 kB / 453.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of Backend: time 1.723e-06/0.106, allocations: 96 / 453.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006242/0.1066, allocations: 271.2 kB / 453.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of SimCode: time 0.001222/0.1079, allocations: 1.182 MB / 455 MB, free: 4.723 MB / 334.1 MB Notification: Performance of Templates: time 0.006989/0.1149, allocations: 2.97 MB / 458 MB, free: 1.754 MB / 334.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)