Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.00126, allocations: 102 kB / 16.41 MB, free: 6.488 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.001213/0.001214, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.421/1.421, 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.05902/0.05902, 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.001578/0.001578, allocations: 71 kB / 391.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09423, allocations: 49.03 MB / 440.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002919/0.09719, allocations: 2.154 MB / 442.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.09874, allocations: 1.033 MB / 443.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.09893, allocations: 15.88 kB / 443.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.09921, allocations: 79.41 kB / 443.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.784e-05/0.09931, allocations: 71.5 kB / 443.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008907/0.1002, allocations: 311.3 kB / 444.2 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.1008, allocations: 0.5943 MB / 444.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.1011, allocations: 92.98 kB / 444.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1013, allocations: 207.3 kB / 445.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.1017, allocations: 243 kB / 445.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.683e-05/0.1018, allocations: 32 kB / 445.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.102, allocations: 111.9 kB / 445.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.1021, allocations: 159.5 kB / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.1023, allocations: 214.5 kB / 445.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.1029, allocations: 0.5022 MB / 446.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1029, allocations: 0 / 446.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1029, allocations: 0 / 446.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1029, allocations: 4 kB / 446.3 MB, free: 13.98 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.001511/0.1045, allocations: 0.8473 MB / 447.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1045, allocations: 15.89 kB / 447.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.1046, allocations: 60.19 kB / 447.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/0.1052, allocations: 429.8 kB / 447.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.1053, allocations: 29.38 kB / 447.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.1054, allocations: 44.28 kB / 447.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000804/0.1062, allocations: 0.5126 MB / 448.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1062, allocations: 7.906 kB / 448.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.1063, allocations: 16 kB / 448.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1063, allocations: 15.98 kB / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006425/0.1069, allocations: 391.7 kB / 448.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.1096, allocations: 1.787 MB / 450.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.1101, allocations: 272.4 kB / 450.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.1103, allocations: 177.1 kB / 450.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.1104, allocations: 4 kB / 450.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003742/0.1108, allocations: 265 kB / 451.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.893e-06/0.1108, allocations: 4 kB / 451.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009383/0.1117, allocations: 0.566 MB / 451.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.1118, allocations: 93.05 kB / 451.8 MB, free: 8.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.1123, allocations: 489.7 kB / 452.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.1124, allocations: 33.7 kB / 452.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1126, allocations: 276 kB / 452.6 MB, free: 7.422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.1127, allocations: 138.1 kB / 452.7 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.1128, allocations: 102.2 kB / 452.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.113, allocations: 370.7 kB / 453.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.1132, allocations: 165.1 kB / 453.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.1136, allocations: 337.7 kB / 453.7 MB, free: 6.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.1157, allocations: 1.07 MB / 454.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1157, allocations: 4 kB / 454.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001023/0.1168, allocations: 0.7225 MB / 455.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.1168, allocations: 37.69 kB / 455.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1168, allocations: 8 kB / 455.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.1169, allocations: 11.94 kB / 455.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.1174, allocations: 131.8 kB / 455.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/0.1174, allocations: 11.94 kB / 455.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.1177, allocations: 63.36 kB / 455.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.1177, allocations: 28 kB / 455.8 MB, free: 4.043 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.0003583/0.1181, allocations: 286.5 kB / 456.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.1182, allocations: 47.44 kB / 456.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008946/0.1191, allocations: 0.5178 MB / 456.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.1191, allocations: 4 kB / 456.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.1191, allocations: 0 / 456.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1191, allocations: 3.984 kB / 456.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.1196, allocations: 473 kB / 457.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1197, allocations: 0 / 457.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.1201, allocations: 87.88 kB / 457.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1202, allocations: 4 kB / 457.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.1202, allocations: 15.98 kB / 457.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1202, allocations: 0 / 457.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1202, allocations: 0 / 457.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1212, allocations: 0.716 MB / 457.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.1213, allocations: 128.5 kB / 458 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.1214, allocations: 19.98 kB / 458.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1216, allocations: 19.98 kB / 458.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.1216, allocations: 23.97 kB / 458.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.1217, allocations: 8 kB / 458.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003386/0.122, allocations: 335.1 kB / 458.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.122, allocations: 3.938 kB / 458.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.1224, allocations: 111.8 kB / 458.5 MB, free: 1.156 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.0002253/0.1227, allocations: 155.5 kB / 458.7 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008096/0.1235, allocations: 0.5592 MB / 459.3 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1235, allocations: 384 / 459.3 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.1238, allocations: 287.1 kB / 459.5 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1242, allocations: 48.95 kB / 459.6 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.1259, allocations: 1.142 MB / 460.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.1264, allocations: 0.882 MB / 461.6 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1265, allocations: 35.44 kB / 461.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1265, allocations: 4 kB / 461.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Templates: time 0.01053/0.137, allocations: 5.96 MB / 467.6 MB, free: 8 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)