Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001618/0.001618, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.606/1.606, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.614/1.614, allocations: 251.6 MB / 0.5088 GB, free: 3.254 MB / 414.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.001394/0.001395, allocations: 67.89 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6103/0.6117, allocations: 104.7 MB / 0.7238 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04475/0.6565, allocations: 37.46 MB / 0.7604 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.677, allocations: 11.06 MB / 0.7712 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005288/0.6823, allocations: 139.3 kB / 0.7713 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0118/0.6942, allocations: 4.057 MB / 0.7753 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009893/0.7041, allocations: 2.084 MB / 0.7773 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008575/0.7127, allocations: 1.969 MB / 0.7793 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0189/0.7317, allocations: 13.19 MB / 0.7921 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02061/0.7523, allocations: 12.44 MB / 0.8043 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006942/0.7593, allocations: 3.406 MB / 0.8076 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008309/0.7677, allocations: 4.599 MB / 0.8121 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002272/0.77, allocations: 0.5586 MB / 0.8126 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005326/0.7753, allocations: 1.553 MB / 0.8142 GB, free: 468 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005646/0.781, allocations: 2.877 MB / 0.817 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0122/0.7932, allocations: 3.368 MB / 0.8203 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01791/0.8112, allocations: 12.08 MB / 0.832 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.8112, allocations: 0 / 0.832 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8113, allocations: 0 / 0.832 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004981/0.8118, allocations: 3.938 kB / 0.8321 GB, free: 14.07 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01792/0.8297, allocations: 6.322 MB / 0.8382 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.8298, allocations: 8.031 kB / 0.8382 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005762/0.8355, allocations: 1.063 MB / 0.8393 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007371/0.8429, allocations: 3.427 MB / 0.8426 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.8433, allocations: 423.7 kB / 0.843 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001756/0.8451, allocations: 0.5393 MB / 0.8435 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02041/0.8655, allocations: 9.381 MB / 0.8527 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.8657, allocations: 15.88 kB / 0.8527 GB, free: 8.438 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008315/0.8665, allocations: 248 kB / 0.853 GB, free: 8.195 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000628/0.8672, allocations: 426.8 kB / 0.8534 GB, free: 7.777 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.883, allocations: 7.123 MB / 0.8603 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05258/0.9356, allocations: 41.32 MB / 0.9007 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005026/0.9407, allocations: 3.104 MB / 0.9037 GB, free: 476 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.483/1.424, allocations: 2.132 MB / 0.9058 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/1.424, allocations: 21.5 kB / 0.9058 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/1.424, allocations: 60.33 kB / 0.9059 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 4.378e-06/1.424, allocations: 1.219 kB / 0.9059 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02803/1.452, allocations: 10.56 MB / 0.9162 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.452, allocations: 73.69 kB / 0.9163 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/1.455, allocations: 2.007 MB / 0.9182 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003506/1.455, allocations: 64.36 kB / 0.9183 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/1.457, allocations: 2.397 MB / 0.9206 GB, free: 157 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006238/1.458, allocations: 0.7328 MB / 0.9213 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006509/1.458, allocations: 480.2 kB / 0.9218 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.246e-05/1.458, allocations: 305 kB / 0.9221 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/1.46, allocations: 1.371 MB / 0.9234 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/1.462, allocations: 2.106 MB / 0.9255 GB, free: 154 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004043/1.466, allocations: 3.765 MB / 0.9292 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/1.466, allocations: 7.938 kB / 0.9292 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007375/1.473, allocations: 5.067 MB / 0.9341 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/1.473, allocations: 15.34 kB / 0.9341 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/1.473, allocations: 27.09 kB / 0.9342 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/1.477, allocations: 1.582 MB / 0.9357 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/1.478, allocations: 453.2 kB / 0.9361 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/1.495, allocations: 17.06 MB / 0.9528 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/1.497, allocations: 147.9 kB / 0.9529 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/1.498, allocations: 107.9 kB / 0.953 GB, free: 131 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00323/1.501, allocations: 1.944 MB / 0.9549 GB, free: 129.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006887/1.502, allocations: 288.6 kB / 0.9552 GB, free: 128.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005961/1.508, allocations: 4.457 MB / 0.9596 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.508, allocations: 20 kB / 0.9596 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/1.508, allocations: 20 kB / 0.9596 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/1.508, allocations: 7.969 kB / 0.9596 GB, free: 124.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/1.522, allocations: 9.665 MB / 0.969 GB, free: 114.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.522, allocations: 4 kB / 0.969 GB, free: 114.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000877/1.523, allocations: 234.6 kB / 0.9693 GB, free: 114.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002934/1.526, allocations: 1.43 MB / 0.9707 GB, free: 112.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/1.526, allocations: 36.12 kB / 0.9707 GB, free: 112.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/1.543, allocations: 17.07 MB / 0.9874 GB, free: 95.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.543, allocations: 12.03 kB / 0.9874 GB, free: 95.17 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006377/1.549, allocations: 4.544 MB / 0.9918 GB, free: 90.53 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/1.551, allocations: 0.6381 MB / 0.9924 GB, free: 89.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/1.551, allocations: 36 kB / 0.9925 GB, free: 89.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.552, allocations: 115.9 kB / 0.9926 GB, free: 89.72 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005547/1.553, allocations: 180.3 kB / 0.9928 GB, free: 89.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.553, allocations: 64 kB / 0.9928 GB, free: 89.49 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001558/1.555, allocations: 1.315 MB / 0.9941 GB, free: 88.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.555, allocations: 0 / 0.9941 GB, free: 88.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003554/1.558, allocations: 1.145 MB / 0.9952 GB, free: 87.02 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002843/1.558, allocations: 164.4 kB / 0.9954 GB, free: 86.85 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006159/1.565, allocations: 4.688 MB / 1 GB, free: 82.11 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/1.565, allocations: 8 kB / 1 GB, free: 82.11 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003868/1.568, allocations: 2.908 MB / 1.003 GB, free: 79.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/1.573, allocations: 0.8363 MB / 1.004 GB, free: 78.33 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/1.588, allocations: 11.77 MB / 1.015 GB, free: 66.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/1.591, allocations: 3.694 MB / 1.019 GB, free: 62.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002087/1.593, allocations: 0.5518 MB / 1.019 GB, free: 62.21 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/1.594, allocations: 147.4 kB / 1.019 GB, free: 62.06 MB / 0.7169 GB Notification: Performance of SimCode: time 5.92e-07/1.594, allocations: 0 / 1.019 GB, free: 62.06 MB / 0.7169 GB Notification: Performance of Templates: time 0.07167/1.665, allocations: 51.13 MB / 1.069 GB, free: 11.62 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)