Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 105.4 kB / 15.7 MB, free: 20 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.001634/0.001634, allocations: 187.9 kB / 16.64 MB, free: 6.594 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.514/1.514, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.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.0014/0.0014, allocations: 72.58 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2774, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01116/0.2886, allocations: 5.497 MB / 0.7895 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006426/0.2951, allocations: 2.67 MB / 0.7921 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008415/0.2959, allocations: 23.88 kB / 0.7921 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.2984, allocations: 0.6798 MB / 0.7928 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.3, allocations: 405.8 kB / 0.7932 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.3015, allocations: 411 kB / 0.7936 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001757/0.3033, allocations: 0.9552 MB / 0.7945 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009521/0.3042, allocations: 470.5 kB / 0.795 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008554/0.3051, allocations: 374.5 kB / 0.7953 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000801/0.3059, allocations: 398.5 kB / 0.7957 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.3061, allocations: 51.94 kB / 0.7958 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008959/0.307, allocations: 363.2 kB / 0.7961 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.3074, allocations: 247.4 kB / 0.7963 GB, free: 200 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006418/0.308, allocations: 354.1 kB / 0.7967 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.3097, allocations: 0.9773 MB / 0.7976 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3097, allocations: 0 / 0.7976 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3097, allocations: 0 / 0.7976 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.551e-05/0.3097, allocations: 0 / 0.7976 GB, free: 14.87 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002352/0.3121, allocations: 0.9775 MB / 0.7986 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3121, allocations: 8.031 kB / 0.7986 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.3141, allocations: 195.9 kB / 0.7988 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.3153, allocations: 0.5257 MB / 0.7993 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.3154, allocations: 37.36 kB / 0.7993 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.3156, allocations: 60.55 kB / 0.7994 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.3173, allocations: 0.824 MB / 0.8002 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/0.3173, allocations: 7.938 kB / 0.8002 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-05/0.3174, allocations: 27.98 kB / 0.8002 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002407/0.3177, allocations: 68.94 kB / 0.8003 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.3189, allocations: 0.5658 MB / 0.8008 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005842/0.3248, allocations: 4.573 MB / 0.8053 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.3254, allocations: 299.1 kB / 0.8056 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.3259, allocations: 229.3 kB / 0.8058 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.3259, allocations: 4.281 kB / 0.8058 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3259, allocations: 34.84 kB / 0.8058 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.326, allocations: 0 / 0.8058 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.007232/0.3332, allocations: 2.631 MB / 0.8084 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.3333, allocations: 59.41 kB / 0.8085 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007289/0.334, allocations: 465.9 kB / 0.8089 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.3341, allocations: 33.7 kB / 0.8089 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.3344, allocations: 343.6 kB / 0.8093 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.3346, allocations: 145.9 kB / 0.8094 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.3348, allocations: 102.2 kB / 0.8095 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.335, allocations: 366.8 kB / 0.8099 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.3355, allocations: 237 kB / 0.8101 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.3362, allocations: 417.2 kB / 0.8105 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.3375, allocations: 0.67 MB / 0.8111 GB, free: 160 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.3375, allocations: 4 kB / 0.8111 GB, free: 156 kB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00227/0.3398, allocations: 0.9251 MB / 0.812 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3398, allocations: 8 kB / 0.8121 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3398, allocations: 4 kB / 0.8121 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009724/0.3408, allocations: 222.6 kB / 0.8123 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.3415, allocations: 115.8 kB / 0.8124 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007533/0.349, allocations: 5.34 MB / 0.8176 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/0.3498, allocations: 35.97 kB / 0.8176 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.35, allocations: 24 kB / 0.8177 GB, free: 9.043 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005085/0.3505, allocations: 222 kB / 0.8179 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.3507, allocations: 63.28 kB / 0.8179 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.3528, allocations: 0.7744 MB / 0.8187 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3528, allocations: 4 kB / 0.8187 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.3528, allocations: 4 kB / 0.8187 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3528, allocations: 0 / 0.8187 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/0.3563, allocations: 1.494 MB / 0.8201 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3564, allocations: 4.219 kB / 0.8202 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.3569, allocations: 75.88 kB / 0.8202 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008548/0.3577, allocations: 202.4 kB / 0.8204 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.3578, allocations: 8 kB / 0.8204 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006786/0.3646, allocations: 5.274 MB / 0.8256 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3646, allocations: 0 / 0.8256 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.3665, allocations: 1.15 MB / 0.8267 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.3668, allocations: 168.5 kB / 0.8269 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.3669, allocations: 19.94 kB / 0.8269 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.3673, allocations: 27.91 kB / 0.8269 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.3674, allocations: 35.89 kB / 0.8269 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.3674, allocations: 16 kB / 0.827 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003488/0.3678, allocations: 310.9 kB / 0.8273 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3678, allocations: 0 / 0.8273 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000747/0.3685, allocations: 168 kB / 0.8274 GB, free: 14.43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001772/0.3687, allocations: 123.1 kB / 0.8275 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.3704, allocations: 1.004 MB / 0.8285 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.3705, allocations: 4 kB / 0.8285 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.3714, allocations: 0.676 MB / 0.8292 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.3724, allocations: 190.8 kB / 0.8294 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3747, allocations: 1.256 MB / 0.8306 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.3753, allocations: 0.9455 MB / 0.8315 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003613/0.3756, allocations: 116.9 kB / 0.8316 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.995e-05/0.3758, allocations: 43.42 kB / 0.8317 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.3758, allocations: 0 / 0.8317 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.01573/0.3915, allocations: 8.853 MB / 0.8403 GB, free: 1.188 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)