Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00109/0.001091, allocations: 195.1 kB / 16.25 MB, free: 6.617 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.627/1.627, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.79/1.79, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001434/0.001434, allocations: 64.38 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3231, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01722/0.3404, allocations: 14.56 MB / 0.7971 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.3566, allocations: 10.34 MB / 0.8072 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.3586, allocations: 51.69 kB / 0.8072 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004469/0.3631, allocations: 1.575 MB / 0.8088 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006301/0.3695, allocations: 1.633 MB / 0.8104 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.3718, allocations: 0.6902 MB / 0.811 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004441/0.3762, allocations: 2.75 MB / 0.8137 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.3787, allocations: 1.59 MB / 0.8153 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.3812, allocations: 1.515 MB / 0.8168 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.383, allocations: 1.206 MB / 0.8179 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002833/0.3833, allocations: 160 kB / 0.8181 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.385, allocations: 0.7916 MB / 0.8189 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005629/0.3856, allocations: 0.5998 MB / 0.8194 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.3867, allocations: 0.9522 MB / 0.8204 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.3905, allocations: 2.796 MB / 0.8231 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.3906, allocations: 3.938 kB / 0.8231 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3906, allocations: 0 / 0.8231 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000103/0.3907, allocations: 0 / 0.8231 GB, free: 4.551 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005364/0.3961, allocations: 2.17 MB / 0.8252 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3961, allocations: 8.031 kB / 0.8252 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.4073, allocations: 2.105 MB / 0.8273 GB, free: 212 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.4107, allocations: 1.217 MB / 0.8285 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.4108, allocations: 86.69 kB / 0.8286 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.4111, allocations: 120 kB / 0.8287 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006041/0.4171, allocations: 2.674 MB / 0.8313 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/0.4172, allocations: 7.938 kB / 0.8313 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.4174, allocations: 55.98 kB / 0.8314 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006184/0.418, allocations: 190.1 kB / 0.8315 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007035/0.4251, allocations: 2.791 MB / 0.8343 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.4399, allocations: 10.51 MB / 0.8445 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006218/0.4461, allocations: 2.348 MB / 0.8468 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.4491, allocations: 1.275 MB / 0.8481 GB, free: 10.11 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/0.4492, allocations: 9 kB / 0.8481 GB, free: 10.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.4493, allocations: 39.56 kB / 0.8481 GB, free: 10.05 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.166e-06/0.4493, allocations: 0 / 0.8481 GB, free: 10.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.05553/0.5048, allocations: 16.49 MB / 0.8642 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.5049, allocations: 68.72 kB / 0.8643 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.5065, allocations: 1.172 MB / 0.8654 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.5068, allocations: 57.69 kB / 0.8655 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.5073, allocations: 0.7436 MB / 0.8662 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005349/0.5079, allocations: 0.5121 MB / 0.8667 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005435/0.5084, allocations: 287.4 kB / 0.867 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5085, allocations: 309.1 kB / 0.8673 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003236/0.5118, allocations: 1.51 MB / 0.8687 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/0.5152, allocations: 1.776 MB / 0.8705 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006781/0.522, allocations: 3.373 MB / 0.8738 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.522, allocations: 4 kB / 0.8738 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01261/0.5346, allocations: 5.273 MB / 0.8789 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5347, allocations: 8 kB / 0.8789 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.5347, allocations: 8.062 kB / 0.8789 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006423/0.5411, allocations: 1.894 MB / 0.8808 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.5431, allocations: 415.2 kB / 0.8812 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02911/0.5722, allocations: 24.15 MB / 0.9048 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/0.5752, allocations: 311.6 kB / 0.9051 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.5755, allocations: 63.97 kB / 0.9051 GB, free: 14.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00102/0.5765, allocations: 466 kB / 0.9056 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004669/0.577, allocations: 173.9 kB / 0.9057 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.59, allocations: 5.32 MB / 0.9109 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.5901, allocations: 16 kB / 0.911 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-05/0.5901, allocations: 27.98 kB / 0.911 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.5902, allocations: 3.984 kB / 0.911 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.6064, allocations: 7.426 MB / 0.9182 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.6064, allocations: 4 kB / 0.9182 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.608, allocations: 359.6 kB / 0.9186 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5611/1.169, allocations: 1.715 MB / 0.9203 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002661/1.169, allocations: 41.66 kB / 0.9203 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02613/1.196, allocations: 23.32 MB / 0.9431 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.196, allocations: 3.141 kB / 0.9431 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/1.21, allocations: 4.882 MB / 0.9478 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.212, allocations: 0.4894 MB / 0.9483 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004169/1.213, allocations: 30.7 kB / 0.9483 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/1.215, allocations: 322 kB / 0.9487 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008837/1.216, allocations: 148.3 kB / 0.9488 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.216, allocations: 49.5 kB / 0.9488 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001307/1.217, allocations: 0.7947 MB / 0.9496 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/1.217, allocations: 0 / 0.9496 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002796/1.22, allocations: 0.6617 MB / 0.9503 GB, free: 112 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003463/1.22, allocations: 144.2 kB / 0.9504 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.232, allocations: 5.423 MB / 0.9557 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.232, allocations: 1.5 kB / 0.9557 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007156/1.24, allocations: 3.348 MB / 0.959 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/1.242, allocations: 0.5645 MB / 0.9595 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008926/1.251, allocations: 4.992 MB / 0.9644 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/1.253, allocations: 1.577 MB / 0.9659 GB, free: 104.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001794/1.254, allocations: 383.8 kB / 0.9663 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/1.255, allocations: 108 kB / 0.9664 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of SimCode: time 8.01e-07/1.255, allocations: 0 / 0.9664 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.06519/1.32, allocations: 45.09 MB / 1.01 GB, free: 65.44 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)