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.001431/0.001431, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.504/1.504, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05626/0.05626, allocations: 10.74 MB / 280.5 MB, free: 10.5 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.00143/0.001431, allocations: 75.83 kB / 340.5 MB, free: 23.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.101, allocations: 49.01 MB / 389.6 MB, free: 6.234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.00422/0.1052, allocations: 2.175 MB / 391.7 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.107, allocations: 1.021 MB / 392.8 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.1071, allocations: 11.88 kB / 392.8 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.1074, allocations: 91.41 kB / 392.9 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1076, allocations: 67.5 kB / 392.9 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008469/0.1084, allocations: 307.3 kB / 393.2 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.109, allocations: 0.5903 MB / 393.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1092, allocations: 88.98 kB / 393.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1094, allocations: 207.3 kB / 394.1 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.1097, allocations: 239.1 kB / 394.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.1097, allocations: 32 kB / 394.4 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1099, allocations: 111.9 kB / 394.5 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.1101, allocations: 155.5 kB / 394.6 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.1103, allocations: 218.6 kB / 394.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.1108, allocations: 0.4907 MB / 395.3 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1108, allocations: 0 / 395.3 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1108, allocations: 0 / 395.3 MB, free: 424 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1108, allocations: 0 / 395.3 MB, free: 424 kB / 286.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.001358/0.1122, allocations: 0.8473 MB / 396.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1123, allocations: 15.89 kB / 396.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.934e-05/0.1124, allocations: 60.28 kB / 396.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.1129, allocations: 417.6 kB / 396.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.113, allocations: 29.38 kB / 396.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.113, allocations: 44.38 kB / 396.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.1138, allocations: 0.5048 MB / 397.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.1138, allocations: 11.84 kB / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.1138, allocations: 20 kB / 397.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1139, allocations: 12 kB / 397.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/0.1145, allocations: 391.7 kB / 397.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.1171, allocations: 1.791 MB / 399.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/0.1177, allocations: 270.4 kB / 399.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.118, allocations: 180.8 kB / 399.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.1181, allocations: 7.984 kB / 399.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003841/0.1184, allocations: 256.9 kB / 400.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.814e-06/0.1185, allocations: 4 kB / 400.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009426/0.1194, allocations: 0.5779 MB / 400.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.1195, allocations: 85.36 kB / 400.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.1199, allocations: 489.8 kB / 401.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.12, allocations: 33.7 kB / 401.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.1202, allocations: 276 kB / 401.6 MB, free: 9.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.1203, allocations: 138 kB / 401.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.1204, allocations: 110.1 kB / 401.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1206, allocations: 370.7 kB / 402.2 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.1208, allocations: 165.1 kB / 402.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.1212, allocations: 333.8 kB / 402.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.1231, allocations: 1.07 MB / 403.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1231, allocations: 0 / 403.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001115/0.1243, allocations: 0.726 MB / 404.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.1243, allocations: 38.36 kB / 404.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1243, allocations: 4 kB / 404.5 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.1244, allocations: 16 kB / 404.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.1249, allocations: 139.7 kB / 404.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.1249, allocations: 8 kB / 404.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1251, allocations: 59.42 kB / 404.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.1252, allocations: 27.98 kB / 404.8 MB, free: 6.5 MB / 302.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.0003281/0.1255, allocations: 282.4 kB / 405.1 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.1256, allocations: 51.34 kB / 405.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000786/0.1264, allocations: 0.5176 MB / 405.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1264, allocations: 4 kB / 405.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1264, allocations: 0 / 405.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1264, allocations: 3.984 kB / 405.6 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.1269, allocations: 480.8 kB / 406.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1269, allocations: 3.984 kB / 406.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.1273, allocations: 87.89 kB / 406.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1273, allocations: 0 / 406.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.758e-05/0.1274, allocations: 15.98 kB / 406.2 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1274, allocations: 3.938 kB / 406.2 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1274, allocations: 4 kB / 406.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.1285, allocations: 0.7079 MB / 406.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.24e-05/0.1286, allocations: 128.5 kB / 407 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.539e-05/0.1287, allocations: 16 kB / 407.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.1289, allocations: 19.98 kB / 407.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.129, allocations: 19.91 kB / 407.1 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.129, allocations: 19.98 kB / 407.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.1294, allocations: 331.1 kB / 407.4 MB, free: 3.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1294, allocations: 0 / 407.4 MB, free: 3.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.1298, allocations: 111.8 kB / 407.5 MB, free: 3.605 MB / 302.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.0002404/0.13, allocations: 144 kB / 407.7 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.1311, allocations: 0.5978 MB / 408.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1311, allocations: 1.312 kB / 408.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.1315, allocations: 279.1 kB / 408.6 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1319, allocations: 50.61 kB / 408.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.1334, allocations: 1.102 MB / 409.7 MB, free: 1.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.1341, allocations: 0.8896 MB / 410.6 MB, free: 468 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.1344, allocations: 108.1 kB / 410.7 MB, free: 360 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.1345, allocations: 39.42 kB / 410.7 MB, free: 320 kB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1345, allocations: 0 / 410.7 MB, free: 320 kB / 302.1 MB Notification: Performance of Templates: time 0.009205/0.1437, allocations: 3.836 MB / 414.6 MB, free: 12.47 MB / 318.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)