Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008027/0.008027, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.593/1.593, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.758/1.758, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005343/0.0005344, allocations: 13 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2757, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01444/0.2902, allocations: 11.38 MB / 0.799 GB, free: 172 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009633/0.2999, allocations: 5.503 MB / 0.8044 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.3012, allocations: 35.81 kB / 0.8044 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.3028, allocations: 314.1 kB / 0.8047 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.3053, allocations: 0.6109 MB / 0.8053 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.3078, allocations: 0.6819 MB / 0.806 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005801/0.3136, allocations: 3.764 MB / 0.8096 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007271/0.3209, allocations: 4.353 MB / 0.8139 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.3228, allocations: 0.8134 MB / 0.8147 GB, free: 0 / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.3252, allocations: 1.125 MB / 0.8158 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005217/0.3258, allocations: 100 kB / 0.8159 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.3273, allocations: 467.2 kB / 0.8163 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.3286, allocations: 0.7482 MB / 0.8171 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.3302, allocations: 0.8609 MB / 0.8179 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.3346, allocations: 3.641 MB / 0.8215 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3346, allocations: 0 / 0.8215 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3347, allocations: 0 / 0.8215 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001239/0.3348, allocations: 3.938 kB / 0.8215 GB, free: 9.039 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004989/0.3398, allocations: 1.726 MB / 0.8231 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.3398, allocations: 12.03 kB / 0.8232 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.3435, allocations: 0.7245 MB / 0.8239 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.3462, allocations: 1.193 MB / 0.825 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.3463, allocations: 119.6 kB / 0.8251 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006818/0.347, allocations: 168 kB / 0.8253 GB, free: 5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005774/0.3528, allocations: 2.94 MB / 0.8282 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.455e-05/0.3529, allocations: 3.938 kB / 0.8282 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.353, allocations: 67.98 kB / 0.8282 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003579/0.3534, allocations: 167.1 kB / 0.8284 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004219/0.3576, allocations: 2.495 MB / 0.8308 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.3711, allocations: 10.82 MB / 0.8414 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.3725, allocations: 0.9107 MB / 0.8423 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007224/0.3732, allocations: 0.501 MB / 0.8428 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.3734, allocations: 89.47 kB / 0.8429 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3734, allocations: 38.94 kB / 0.8429 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 2.936e-06/0.3734, allocations: 0 / 0.8429 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.02737/0.4008, allocations: 8.012 MB / 0.8507 GB, free: 9.852 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.4009, allocations: 59.97 kB / 0.8508 GB, free: 9.781 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.4025, allocations: 0.922 MB / 0.8517 GB, free: 8.852 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.4027, allocations: 37.7 kB / 0.8517 GB, free: 8.809 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006635/0.4033, allocations: 0.7736 MB / 0.8525 GB, free: 8.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.4036, allocations: 248.5 kB / 0.8527 GB, free: 7.773 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.4038, allocations: 85.67 kB / 0.8528 GB, free: 7.684 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.404, allocations: 394.8 kB / 0.8532 GB, free: 7.289 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4052, allocations: 0.7872 MB / 0.8539 GB, free: 6.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.4067, allocations: 1.132 MB / 0.855 GB, free: 5.215 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002771/0.4095, allocations: 1.97 MB / 0.857 GB, free: 3.094 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/0.4095, allocations: 4 kB / 0.857 GB, free: 3.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01043/0.42, allocations: 3.678 MB / 0.8606 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004238/0.4204, allocations: 413.1 kB / 0.861 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/0.4205, allocations: 19.98 kB / 0.861 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008347/0.4288, allocations: 1.995 MB / 0.8629 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.4298, allocations: 235.6 kB / 0.8631 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.4462, allocations: 9.891 MB / 0.8728 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.4478, allocations: 179.6 kB / 0.873 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/0.4481, allocations: 51.94 kB / 0.873 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4481, allocations: 8 kB / 0.873 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008046/0.4562, allocations: 3.013 MB / 0.876 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/0.4562, allocations: 8 kB / 0.876 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005468/0.4617, allocations: 1.288 MB / 0.8772 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.4629, allocations: 283.5 kB / 0.8775 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.4739, allocations: 5.991 MB / 0.8834 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4756, allocations: 151.7 kB / 0.8835 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.4758, allocations: 48 kB / 0.8836 GB, free: 7.281 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001832/0.4777, allocations: 0.8954 MB / 0.8844 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.478, allocations: 86.97 kB / 0.8845 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009046/0.487, allocations: 3.206 MB / 0.8876 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.4871, allocations: 8.188 kB / 0.8877 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.4871, allocations: 0 / 0.8877 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.4871, allocations: 7.969 kB / 0.8877 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.4997, allocations: 5.337 MB / 0.8929 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.4998, allocations: 0 / 0.8929 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/0.5003, allocations: 107.8 kB / 0.893 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007451/0.5078, allocations: 1.819 MB / 0.8947 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.5079, allocations: 16 kB / 0.8948 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.522, allocations: 9.306 MB / 0.9039 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.522, allocations: 7.938 kB / 0.9039 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008793/0.5308, allocations: 3.096 MB / 0.9069 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008134/0.5317, allocations: 320 kB / 0.9072 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.532, allocations: 19.98 kB / 0.9072 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.5331, allocations: 135.8 kB / 0.9073 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/0.5334, allocations: 68.34 kB / 0.9074 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.5335, allocations: 20 kB / 0.9074 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001136/0.5346, allocations: 0.6629 MB / 0.9081 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5346, allocations: 0 / 0.9081 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002794/0.5374, allocations: 0.6953 MB / 0.9087 GB, free: 13 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002699/0.5377, allocations: 118.8 kB / 0.9089 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007935/0.5457, allocations: 3.807 MB / 0.9126 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.5457, allocations: 8.25 kB / 0.9126 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.5479, allocations: 1.254 MB / 0.9138 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.5498, allocations: 342.6 kB / 0.9141 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.5574, allocations: 4.183 MB / 0.9182 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.5596, allocations: 1.723 MB / 0.9199 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001481/0.5611, allocations: 0.5108 MB / 0.9204 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.5613, allocations: 67.42 kB / 0.9205 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of SimCode: time 1.322e-06/0.5613, allocations: 3.938 kB / 0.9205 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of Templates: time 0.529/1.09, allocations: 31.13 MB / 0.9509 GB, free: 117.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: