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.00153/0.00153, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001766/0.001766, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.674/1.674, 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.05842/0.05842, 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.001565/0.001565, allocations: 60.12 kB / 342 MB, free: 4.453 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3744, allocations: 49.01 MB / 391 MB, free: 49.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.004179/0.3786, allocations: 2.187 MB / 393.2 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.3807, allocations: 1.035 MB / 394.2 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.3809, allocations: 18.75 kB / 394.2 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3813, allocations: 86.47 kB / 394.3 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.3814, allocations: 59.92 kB / 394.4 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3825, allocations: 331.7 kB / 394.7 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008339/0.3833, allocations: 0.5859 MB / 395.3 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.3836, allocations: 85.28 kB / 395.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.3839, allocations: 210 kB / 395.6 MB, free: 47.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.3843, allocations: 244.5 kB / 395.8 MB, free: 46.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.3844, allocations: 34.66 kB / 395.8 MB, free: 46.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.3846, allocations: 110.1 kB / 395.9 MB, free: 46.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.3848, allocations: 157.1 kB / 396.1 MB, free: 46.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.385, allocations: 218.6 kB / 396.3 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.3857, allocations: 0.5007 MB / 396.8 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3858, allocations: 1.562 kB / 396.8 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3858, allocations: 0 / 396.8 MB, free: 46.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.3858, allocations: 4 kB / 396.8 MB, free: 46.52 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.001956/0.3878, allocations: 0.8575 MB / 397.7 MB, free: 45.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.3878, allocations: 12.95 kB / 397.7 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.388, allocations: 61.78 kB / 397.8 MB, free: 45.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008218/0.3888, allocations: 434.5 kB / 398.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.3889, allocations: 28.66 kB / 398.2 MB, free: 45.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.389, allocations: 46.27 kB / 398.2 MB, free: 45.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.3903, allocations: 0.513 MB / 398.8 MB, free: 45.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.3903, allocations: 7.953 kB / 398.8 MB, free: 45.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.3904, allocations: 16.11 kB / 398.8 MB, free: 45.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.3904, allocations: 14.41 kB / 398.8 MB, free: 45.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008127/0.3912, allocations: 387.2 kB / 399.2 MB, free: 45.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.3944, allocations: 1.802 MB / 401 MB, free: 43.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.395, allocations: 263.4 kB / 401.2 MB, free: 43.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.3953, allocations: 180.6 kB / 401.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.3954, allocations: 3.594 kB / 401.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004069/0.3958, allocations: 257.8 kB / 401.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 2.775e-06/0.3958, allocations: 4 kB / 401.7 MB, free: 43.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001225/0.397, allocations: 0.5744 MB / 402.2 MB, free: 43.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.3971, allocations: 87.05 kB / 402.3 MB, free: 42.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.3979, allocations: 497.6 kB / 402.8 MB, free: 42.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.3979, allocations: 31.95 kB / 402.8 MB, free: 42.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.3982, allocations: 275 kB / 403.1 MB, free: 42.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.3983, allocations: 135.3 kB / 403.3 MB, free: 42.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.3985, allocations: 107.4 kB / 403.4 MB, free: 42.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3987, allocations: 378.3 kB / 403.7 MB, free: 41.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.399, allocations: 166.1 kB / 403.9 MB, free: 41.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.3994, allocations: 331.2 kB / 404.2 MB, free: 41.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.4016, allocations: 1.083 MB / 405.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4017, allocations: 1.188 kB / 405.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001228/0.4029, allocations: 0.7192 MB / 406 MB, free: 40.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.4029, allocations: 44.06 kB / 406.1 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.403, allocations: 6.5 kB / 406.1 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/0.403, allocations: 7.375 kB / 406.1 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.4035, allocations: 128.8 kB / 406.2 MB, free: 40.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.729e-05/0.4036, allocations: 15.36 kB / 406.2 MB, free: 40.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.4039, allocations: 60.55 kB / 406.3 MB, free: 40.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.4039, allocations: 24.59 kB / 406.3 MB, free: 40.21 MB / 318.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.0004086/0.4043, allocations: 290.1 kB / 406.6 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.4044, allocations: 46.31 kB / 406.6 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00094/0.4054, allocations: 0.5121 MB / 407.1 MB, free: 39.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4054, allocations: 3.156 kB / 407.1 MB, free: 39.67 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4054, allocations: 0 / 407.1 MB, free: 39.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4054, allocations: 5.125 kB / 407.1 MB, free: 39.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.406, allocations: 479 kB / 407.6 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.406, allocations: 0 / 407.6 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.4065, allocations: 83.52 kB / 407.7 MB, free: 39.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4065, allocations: 1.219 kB / 407.7 MB, free: 39.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.4066, allocations: 15.64 kB / 407.7 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4066, allocations: 2.062 kB / 407.7 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4066, allocations: 4 kB / 407.7 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.4075, allocations: 0.7271 MB / 408.4 MB, free: 38.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.4076, allocations: 132.5 kB / 408.6 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.4077, allocations: 16 kB / 408.6 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.4078, allocations: 15.98 kB / 408.6 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.4079, allocations: 19.95 kB / 408.6 MB, free: 38.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.408, allocations: 19.98 kB / 408.6 MB, free: 38.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.4083, allocations: 334.8 kB / 409 MB, free: 38.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4083, allocations: 0 / 409 MB, free: 38.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004797/0.4088, allocations: 123.8 kB / 409.1 MB, free: 37.92 MB / 318.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.0002128/0.409, allocations: 145.2 kB / 409.2 MB, free: 37.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.4097, allocations: 0.5595 MB / 409.8 MB, free: 37.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4097, allocations: 4.062 kB / 409.8 MB, free: 37.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.41, allocations: 283.1 kB / 410.1 MB, free: 36.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.4103, allocations: 46.73 kB / 410.1 MB, free: 36.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.4115, allocations: 1.09 MB / 411.2 MB, free: 35.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.4118, allocations: 0.8859 MB / 412.1 MB, free: 34.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.412, allocations: 104.1 kB / 412.2 MB, free: 34.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.4121, allocations: 39.42 kB / 412.2 MB, free: 34.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4121, allocations: 0 / 412.2 MB, free: 34.68 MB / 318.1 MB Notification: Performance of Templates: time 0.007878/0.42, allocations: 3.849 MB / 416.1 MB, free: 30.86 MB / 318.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 -s cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1)