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.001522/0.001523, allocations: 110.2 kB / 16.42 MB, free: 6.484 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.00179/0.001791, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.343/1.343, 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.05911/0.05911, allocations: 10.74 MB / 281.3 MB, free: 1.285 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.001462/0.001463, allocations: 74 kB / 391.5 MB, free: 46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07633/0.0778, allocations: 49.03 MB / 440.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002565/0.0804, allocations: 2.18 MB / 442.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.08174, allocations: 1.033 MB / 443.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.08189, allocations: 11.88 kB / 443.8 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.08213, allocations: 83.41 kB / 443.8 MB, free: 492 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.08224, allocations: 79.5 kB / 443.9 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.08291, allocations: 315.3 kB / 444.2 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.08346, allocations: 0.5982 MB / 444.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.08364, allocations: 85 kB / 444.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.08387, allocations: 215.3 kB / 445.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.08416, allocations: 239 kB / 445.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.08424, allocations: 36 kB / 445.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.0844, allocations: 107.9 kB / 445.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.08456, allocations: 163.5 kB / 445.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.08475, allocations: 214.6 kB / 445.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.08523, allocations: 0.506 MB / 446.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.08525, allocations: 0 / 446.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.08525, allocations: 0 / 446.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.08527, allocations: 0 / 446.4 MB, free: 13.95 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001282/0.08655, allocations: 0.8549 MB / 447.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.0866, allocations: 11.89 kB / 447.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.364e-05/0.0867, allocations: 60.28 kB / 447.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/0.08729, allocations: 437.7 kB / 447.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.08734, allocations: 29.38 kB / 447.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.08742, allocations: 52.28 kB / 447.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007571/0.08818, allocations: 0.5047 MB / 448.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.08822, allocations: 8 kB / 448.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.08827, allocations: 16 kB / 448.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.08828, allocations: 12 kB / 448.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.08891, allocations: 387.7 kB / 448.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.09163, allocations: 1.787 MB / 450.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.09214, allocations: 270.4 kB / 450.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.09241, allocations: 177.3 kB / 451 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.09246, allocations: 15.97 kB / 451 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.09283, allocations: 260.8 kB / 451.2 MB, free: 8.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.854e-06/0.09284, allocations: 0 / 451.2 MB, free: 8.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009318/0.09378, allocations: 0.57 MB / 451.8 MB, free: 8.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.09383, allocations: 89.09 kB / 451.9 MB, free: 8.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.09429, allocations: 0.4939 MB / 452.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.09433, allocations: 29.7 kB / 452.4 MB, free: 7.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.0945, allocations: 276 kB / 452.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.0946, allocations: 138.1 kB / 452.8 MB, free: 7.227 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.09473, allocations: 106.2 kB / 452.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.09487, allocations: 374.7 kB / 453.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.09513, allocations: 165.1 kB / 453.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.09549, allocations: 337.6 kB / 453.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.09754, allocations: 1.066 MB / 454.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.09756, allocations: 4 kB / 454.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009677/0.09854, allocations: 0.7259 MB / 455.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.09859, allocations: 38.34 kB / 455.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.09861, allocations: 8 kB / 455.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.09864, allocations: 12 kB / 455.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.09912, allocations: 131.8 kB / 455.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.09915, allocations: 15.97 kB / 455.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.09939, allocations: 63.36 kB / 455.8 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.09944, allocations: 24 kB / 455.8 MB, free: 3.977 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.0003273/0.09977, allocations: 278.3 kB / 456.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.09984, allocations: 51.38 kB / 456.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008039/0.1007, allocations: 0.5219 MB / 456.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1007, allocations: 0 / 456.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1007, allocations: 0 / 456.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1008, allocations: 136.3 kB / 456.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.1009, allocations: 12 kB / 456.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.101, allocations: 19.92 kB / 456.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.1011, allocations: 24.23 kB / 456.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001377/0.1025, allocations: 0.724 MB / 457.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001127/0.1036, allocations: 0.9349 MB / 458.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000289/0.1039, allocations: 224.1 kB / 458.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.1043, allocations: 338.8 kB / 459.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of Backend: time 6.21e-07/0.1043, allocations: 0 / 459.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009088/0.1052, allocations: 0.5195 MB / 459.6 MB, free: 112 kB / 334.1 MB Notification: Performance of SimCode: time 0.001529/0.1067, allocations: 1.561 MB / 461.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of Templates: time 0.009304/0.116, allocations: 4.943 MB / 466.1 MB, free: 9.539 MB / 350.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)