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.001261/0.001261, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001188/0.001188, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.353/1.353, 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.05835/0.05835, allocations: 10.73 MB / 281.3 MB, free: 1.293 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.00296/0.00296, allocations: 72.66 kB / 391.5 MB, free: 45.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08836, allocations: 49.02 MB / 440.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002947/0.09134, allocations: 2.177 MB / 442.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.0929, allocations: 1.029 MB / 443.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.09316, allocations: 11.94 kB / 443.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.09344, allocations: 87.33 kB / 443.8 MB, free: 500 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.09368, allocations: 75.52 kB / 443.9 MB, free: 424 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008429/0.09453, allocations: 311.2 kB / 444.2 MB, free: 116 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006935/0.09523, allocations: 0.5943 MB / 444.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.09547, allocations: 92.98 kB / 444.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.09584, allocations: 207.3 kB / 445.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.09632, allocations: 239 kB / 445.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.09646, allocations: 36 kB / 445.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.09669, allocations: 107.9 kB / 445.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.09691, allocations: 159.5 kB / 445.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.09716, allocations: 214.5 kB / 445.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.09776, allocations: 0.5022 MB / 446.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.09777, allocations: 0 / 446.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09778, allocations: 0 / 446.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.09781, allocations: 0 / 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.001529/0.09934, allocations: 0.8473 MB / 447.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.0994, allocations: 11.89 kB / 447.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.09953, allocations: 60.19 kB / 447.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.1002, allocations: 437.8 kB / 447.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.1002, allocations: 29.38 kB / 447.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/0.1003, allocations: 44.28 kB / 447.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008343/0.1012, allocations: 0.5126 MB / 448.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.1012, allocations: 7.906 kB / 448.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.1013, allocations: 16 kB / 448.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1013, allocations: 12 kB / 448.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/0.102, allocations: 391.7 kB / 448.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.105, allocations: 1.787 MB / 450.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.1056, allocations: 262.5 kB / 450.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.1059, allocations: 177.1 kB / 450.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.1059, allocations: 15.97 kB / 450.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004274/0.1064, allocations: 265 kB / 451.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.585e-06/0.1064, allocations: 0 / 451.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.00104/0.1074, allocations: 0.5699 MB / 451.8 MB, free: 8.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.1075, allocations: 89.05 kB / 451.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.108, allocations: 493.7 kB / 452.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.1081, allocations: 37.7 kB / 452.4 MB, free: 7.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1083, allocations: 272 kB / 452.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.1084, allocations: 134.1 kB / 452.8 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.1086, allocations: 106.2 kB / 452.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1087, allocations: 370.7 kB / 453.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.109, allocations: 165.1 kB / 453.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.1094, allocations: 333.6 kB / 453.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.1116, allocations: 1.066 MB / 454.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.1116, allocations: 4 kB / 454.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001055/0.1126, allocations: 0.7259 MB / 455.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.1127, allocations: 37.69 kB / 455.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1127, allocations: 4 kB / 455.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.1127, allocations: 8.656 kB / 455.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.1133, allocations: 143.7 kB / 455.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.1133, allocations: 8 kB / 455.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.1136, allocations: 67.36 kB / 455.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.1136, allocations: 24 kB / 455.8 MB, free: 4.035 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.000342/0.114, allocations: 286.2 kB / 456.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.1141, allocations: 47.44 kB / 456.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.1149, allocations: 0.514 MB / 456.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1149, allocations: 0 / 456.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1149, allocations: 0 / 456.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.115, allocations: 132.4 kB / 456.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/0.1151, allocations: 19.98 kB / 456.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1153, allocations: 19.92 kB / 456.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.1154, allocations: 24.25 kB / 456.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001427/0.1168, allocations: 0.724 MB / 457.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001212/0.118, allocations: 0.9349 MB / 458.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000317/0.1184, allocations: 224.1 kB / 458.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003369/0.1187, allocations: 343 kB / 459 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of Backend: time 3.9e-07/0.1187, allocations: 0 / 459 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.1197, allocations: 0.5161 MB / 459.6 MB, free: 172 kB / 334.1 MB Notification: Performance of SimCode: time 0.001635/0.1214, allocations: 1.54 MB / 461.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of Templates: time 0.01024/0.1316, allocations: 4.935 MB / 466 MB, free: 9.629 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)