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.001536/0.001536, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001759/0.001759, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.277/1.277, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05956/0.05956, allocations: 10.73 MB / 281.3 MB, free: 1.281 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.00149/0.00149, allocations: 67.56 kB / 391.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06391/0.06541, allocations: 49.03 MB / 440.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002488/0.06792, allocations: 2.173 MB / 442.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.06934, allocations: 1.033 MB / 443.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.06953, allocations: 15.88 kB / 443.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.06977, allocations: 99.33 kB / 443.9 MB, free: 456 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.06989, allocations: 55.58 kB / 443.9 MB, free: 400 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.07061, allocations: 327.2 kB / 444.2 MB, free: 72 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006027/0.07122, allocations: 0.5904 MB / 444.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.07141, allocations: 88.98 kB / 444.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.07168, allocations: 211.3 kB / 445.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.07201, allocations: 239 kB / 445.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.0721, allocations: 36 kB / 445.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.07229, allocations: 103.9 kB / 445.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.07246, allocations: 163.5 kB / 445.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.07266, allocations: 210.6 kB / 445.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.07318, allocations: 0.5094 MB / 446.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.0732, allocations: 4 kB / 446.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0732, allocations: 0 / 446.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.07322, allocations: 4 kB / 446.4 MB, free: 13.93 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.00128/0.07451, allocations: 0.8739 MB / 447.3 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.07455, allocations: 11.89 kB / 447.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.07466, allocations: 68.56 kB / 447.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.0752, allocations: 430.2 kB / 447.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.07524, allocations: 29.38 kB / 447.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.07533, allocations: 52.31 kB / 447.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.07607, allocations: 0.5126 MB / 448.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.07611, allocations: 7.953 kB / 448.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.07615, allocations: 20 kB / 448.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.07617, allocations: 8 kB / 448.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.07683, allocations: 387.7 kB / 448.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.07944, allocations: 1.795 MB / 450.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.07994, allocations: 264.5 kB / 450.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.08021, allocations: 177.3 kB / 451 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.08025, allocations: 11.98 kB / 451 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003696/0.08063, allocations: 264.7 kB / 451.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/0.08064, allocations: 4 kB / 451.3 MB, free: 8.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009305/0.08158, allocations: 0.5702 MB / 451.8 MB, free: 8.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.08163, allocations: 89.05 kB / 451.9 MB, free: 8.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.08213, allocations: 0.4939 MB / 452.4 MB, free: 7.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.08216, allocations: 29.7 kB / 452.4 MB, free: 7.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.08235, allocations: 280.5 kB / 452.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.08245, allocations: 142.8 kB / 452.8 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.0826, allocations: 118.1 kB / 453 MB, free: 7.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.08274, allocations: 370.7 kB / 453.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.08303, allocations: 169.1 kB / 453.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.08339, allocations: 329.7 kB / 453.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.08547, allocations: 1.066 MB / 454.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.08549, allocations: 4 kB / 454.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001003/0.08649, allocations: 0.7266 MB / 455.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.08654, allocations: 33.7 kB / 455.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.08656, allocations: 8 kB / 455.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.08658, allocations: 8 kB / 455.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.08707, allocations: 135.8 kB / 455.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.0871, allocations: 11.94 kB / 455.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.08735, allocations: 67.91 kB / 455.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.0874, allocations: 31.98 kB / 455.9 MB, free: 3.91 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.0002981/0.0877, allocations: 274.4 kB / 456.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.08777, allocations: 59.56 kB / 456.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000817/0.0886, allocations: 0.5179 MB / 456.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.08861, allocations: 3.984 kB / 456.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.08862, allocations: 4 kB / 456.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.08872, allocations: 128.7 kB / 456.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.08879, allocations: 15.98 kB / 456.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.08896, allocations: 23.86 kB / 456.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.08903, allocations: 20.25 kB / 456.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001345/0.09038, allocations: 0.7242 MB / 457.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001144/0.09154, allocations: 0.9352 MB / 458.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002989/0.09185, allocations: 228 kB / 458.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003226/0.09218, allocations: 346.8 kB / 459.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of Backend: time 4.91e-07/0.09219, allocations: 0 / 459.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009037/0.0931, allocations: 0.5109 MB / 459.7 MB, free: 36 kB / 334.1 MB Notification: Performance of SimCode: time 0.001492/0.0946, allocations: 1.585 MB / 461.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of Templates: time 0.009625/0.1042, allocations: 4.946 MB / 466.2 MB, free: 9.441 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)