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.00147/0.00147, allocations: 112.4 kB / 16.42 MB, free: 6.441 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.001524/0.001524, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.346/1.346, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05892/0.05892, allocations: 10.74 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.00251/0.002511, allocations: 72.84 kB / 391.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.0905, allocations: 49.02 MB / 440.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002516/0.09306, allocations: 2.193 MB / 442.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.09409, allocations: 0.6783 MB / 443.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.09425, allocations: 19.81 kB / 443.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.09444, allocations: 55.41 kB / 443.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.09463, allocations: 47.55 kB / 443.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.09514, allocations: 327.3 kB / 443.8 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.09557, allocations: 0.5782 MB / 444.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.09575, allocations: 96.92 kB / 444.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.096, allocations: 219.3 kB / 444.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.09627, allocations: 207 kB / 444.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.09634, allocations: 32 kB / 445 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.594e-05/0.0964, allocations: 32 kB / 445 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.09657, allocations: 139.6 kB / 445.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.09676, allocations: 206.6 kB / 445.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.0972, allocations: 410.4 kB / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.09721, allocations: 0 / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.09722, allocations: 0 / 445.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.09723, allocations: 7.938 kB / 445.7 MB, free: 14.57 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.001223/0.09846, allocations: 0.7756 MB / 446.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.0985, allocations: 11.89 kB / 446.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/0.0986, allocations: 56.28 kB / 446.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.09917, allocations: 425.8 kB / 447 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.09925, allocations: 88.95 kB / 447.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.09933, allocations: 48.27 kB / 447.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.1001, allocations: 461.2 kB / 447.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.1001, allocations: 11.88 kB / 447.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.1002, allocations: 16 kB / 447.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1002, allocations: 12 kB / 447.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.1008, allocations: 351.7 kB / 448 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.1035, allocations: 1.686 MB / 449.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/0.1043, allocations: 294.5 kB / 449.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.1046, allocations: 177.3 kB / 450.1 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1046, allocations: 4.281 kB / 450.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1047, allocations: 38.78 kB / 450.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.1047, allocations: 0 / 450.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007718/0.1055, allocations: 447.9 kB / 450.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.1055, allocations: 55.41 kB / 450.7 MB, free: 9.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.1059, allocations: 425.8 kB / 451.1 MB, free: 9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1059, allocations: 29.7 kB / 451.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.1061, allocations: 251.9 kB / 451.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.1062, allocations: 126.2 kB / 451.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.1063, allocations: 86.12 kB / 451.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1065, allocations: 358.8 kB / 451.9 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.1067, allocations: 128.9 kB / 452 MB, free: 8.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.1071, allocations: 258.6 kB / 452.3 MB, free: 7.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.1092, allocations: 0.7967 MB / 453.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1092, allocations: 4 kB / 453.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007597/0.11, allocations: 0.5088 MB / 453.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.11, allocations: 13.91 kB / 453.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1101, allocations: 4 kB / 453.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.501e-05/0.1101, allocations: 8 kB / 453.6 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.1106, allocations: 119.9 kB / 453.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.1106, allocations: 7.938 kB / 453.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1108, allocations: 55.73 kB / 453.8 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.1109, allocations: 20 kB / 453.8 MB, free: 6.117 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.0002332/0.1111, allocations: 203.5 kB / 454 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.1112, allocations: 43.47 kB / 454.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007062/0.1119, allocations: 405.7 kB / 454.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.1119, allocations: 0 / 454.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1119, allocations: 0 / 454.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.744e-05/0.112, allocations: 128.4 kB / 454.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.1121, allocations: 16 kB / 454.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1123, allocations: 11.98 kB / 454.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.1124, allocations: 23.97 kB / 454.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001101/0.1135, allocations: 0.5118 MB / 455.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009406/0.1144, allocations: 0.7299 MB / 455.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002428/0.1147, allocations: 171.9 kB / 456 MB, free: 3.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002618/0.1149, allocations: 295.1 kB / 456.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of Backend: time 5.72e-07/0.1149, allocations: 0 / 456.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006688/0.1156, allocations: 330 kB / 456.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of SimCode: time 0.001308/0.1169, allocations: 1.33 MB / 458 MB, free: 1.84 MB / 334.1 MB Notification: Performance of Templates: time 0.007795/0.1247, allocations: 3.855 MB / 461.8 MB, free: 13.98 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)