Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008405/0.008405, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001586/0.001586, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.76/1.76, allocations: 205.1 MB / 222.5 MB, free: 4.367 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05955/0.05955, allocations: 10.74 MB / 280.6 MB, free: 10.26 MB / 238.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.001517/0.001517, allocations: 70.7 kB / 390.8 MB, free: 5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.46, allocations: 49.02 MB / 439.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.004505/0.4645, allocations: 2.179 MB / 442 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.4666, allocations: 1.043 MB / 443.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.4668, allocations: 14.75 kB / 443.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.4671, allocations: 86.39 kB / 443.2 MB, free: 3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.4673, allocations: 75.61 kB / 443.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.4684, allocations: 312 kB / 443.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008132/0.4692, allocations: 0.5933 MB / 444.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.4694, allocations: 84.52 kB / 444.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/0.4698, allocations: 216.4 kB / 444.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.4702, allocations: 239.9 kB / 444.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.618e-05/0.4703, allocations: 33.78 kB / 444.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.4706, allocations: 114.6 kB / 444.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.4708, allocations: 153.5 kB / 445 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.4711, allocations: 218 kB / 445.2 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.4721, allocations: 0.4992 MB / 445.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4721, allocations: 1.703 kB / 445.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4721, allocations: 0 / 445.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.4721, allocations: 0 / 445.7 MB, free: 1.887 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002206/0.4744, allocations: 0.8559 MB / 446.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.388e-05/0.4744, allocations: 14.27 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.4746, allocations: 68.41 kB / 446.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.4755, allocations: 430.4 kB / 447 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.4756, allocations: 33.69 kB / 447.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.4757, allocations: 57.7 kB / 447.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4768, allocations: 0.5004 MB / 447.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.4769, allocations: 11.14 kB / 447.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.4769, allocations: 16.34 kB / 447.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.477, allocations: 10.06 kB / 447.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.4778, allocations: 394.5 kB / 448.1 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.481, allocations: 1.781 MB / 449.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/0.4817, allocations: 279.2 kB / 450.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.4821, allocations: 176.3 kB / 450.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.4821, allocations: 7.766 kB / 450.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005232/0.4827, allocations: 249.9 kB / 450.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.455e-06/0.4827, allocations: 0 / 450.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.001344/0.484, allocations: 0.5828 MB / 451.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/0.4841, allocations: 86.61 kB / 451.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008532/0.485, allocations: 497.4 kB / 451.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.4851, allocations: 31.92 kB / 451.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.4854, allocations: 282.8 kB / 452 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.4855, allocations: 127.4 kB / 452.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.4858, allocations: 103.8 kB / 452.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002525/0.4861, allocations: 370.2 kB / 452.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.4864, allocations: 169.5 kB / 452.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.487, allocations: 331.6 kB / 453.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.4895, allocations: 1.07 MB / 454.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.4895, allocations: 2.5 kB / 454.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00146/0.491, allocations: 0.734 MB / 454.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.491, allocations: 43.36 kB / 454.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.4911, allocations: 5.281 kB / 454.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/0.4911, allocations: 9.312 kB / 454.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.4917, allocations: 132.1 kB / 455.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.501e-05/0.4917, allocations: 11.59 kB / 455.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.4921, allocations: 60.83 kB / 455.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.4922, allocations: 24.41 kB / 455.2 MB, free: 11.49 MB / 334.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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.0006335/0.4928, allocations: 294.5 kB / 455.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.4929, allocations: 51.53 kB / 455.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.4941, allocations: 0.5235 MB / 456 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.4941, allocations: 2.656 kB / 456 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4941, allocations: 0 / 456 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4942, allocations: 5.172 kB / 456 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.4949, allocations: 466.8 kB / 456.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4949, allocations: 0 / 456.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.4954, allocations: 95.22 kB / 456.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.4954, allocations: 2.562 kB / 456.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.4955, allocations: 18.92 kB / 456.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4955, allocations: 2.5 kB / 456.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4955, allocations: 0 / 456.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.4969, allocations: 0.7098 MB / 457.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.4971, allocations: 129.5 kB / 457.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.4972, allocations: 19.02 kB / 457.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.4973, allocations: 15.55 kB / 457.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.4974, allocations: 22.84 kB / 457.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.4975, allocations: 16.47 kB / 457.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005777/0.4981, allocations: 341.2 kB / 457.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4981, allocations: 0 / 457.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009523/0.499, allocations: 113.7 kB / 458 MB, free: 9.727 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0003299/0.4994, allocations: 151.3 kB / 458.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.5005, allocations: 0.5546 MB / 458.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5005, allocations: 0 / 458.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.501, allocations: 280.2 kB / 458.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.5014, allocations: 52.64 kB / 459 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.5036, allocations: 1.095 MB / 460.1 MB, free: 8.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.5042, allocations: 0.882 MB / 461 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.5046, allocations: 116.2 kB / 461.1 MB, free: 7.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.5047, allocations: 39.44 kB / 461.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5047, allocations: 0 / 461.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of Templates: time 0.01091/0.5156, allocations: 3.932 MB / 465 MB, free: 3.18 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1)