Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 110.1 kB / 16.41 MB, free: 6.484 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.001706/0.001706, allocations: 193.2 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 299 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 92.27 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.5478, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04217/0.59, allocations: 33.37 MB / 0.7997 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.6161, allocations: 14.85 MB / 0.8142 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004499/0.6206, allocations: 155.2 kB / 0.8143 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.6313, allocations: 3.689 MB / 0.8179 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009717/0.641, allocations: 2.998 MB / 0.8208 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006784/0.6478, allocations: 2.325 MB / 0.8231 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01336/0.6611, allocations: 8.817 MB / 0.8317 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01146/0.6726, allocations: 7.231 MB / 0.8388 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007511/0.6801, allocations: 4.024 MB / 0.8427 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007532/0.6876, allocations: 4.038 MB / 0.8467 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002123/0.6898, allocations: 0.7148 MB / 0.8474 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/0.6944, allocations: 1.717 MB / 0.849 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004517/0.6989, allocations: 2.895 MB / 0.8519 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007003/0.7059, allocations: 3.396 MB / 0.8552 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01635/0.7222, allocations: 11.21 MB / 0.8661 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7222, allocations: 0 / 0.8661 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7222, allocations: 0 / 0.8661 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003502/0.7226, allocations: 7.938 kB / 0.8661 GB, free: 14.07 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01447/0.7371, allocations: 6.136 MB / 0.8721 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.7371, allocations: 8.031 kB / 0.8721 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007181/0.7443, allocations: 1.164 MB / 0.8733 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00862/0.7529, allocations: 3.545 MB / 0.8767 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.7532, allocations: 370.4 kB / 0.8771 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/0.7545, allocations: 0.4883 MB / 0.8776 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/0.7689, allocations: 7.997 MB / 0.8854 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.769, allocations: 27.78 kB / 0.8854 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005643/0.7696, allocations: 220 kB / 0.8856 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001165/0.7707, allocations: 441.5 kB / 0.886 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.7823, allocations: 6.081 MB / 0.892 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04582/0.8281, allocations: 34.94 MB / 0.9261 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.8312, allocations: 1.924 MB / 0.928 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002714/0.8339, allocations: 1.752 MB / 0.9297 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.834, allocations: 18 kB / 0.9297 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.721e-05/0.8341, allocations: 64.48 kB / 0.9298 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=171): time 3.677e-06/0.8341, allocations: 0 / 0.9298 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276): time 0.1644/0.9985, allocations: 38.85 MB / 0.9677 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.9986, allocations: 81.58 kB / 0.9678 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4899/1.488, allocations: 2.277 MB / 0.97 GB, free: 183.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000596/1.489, allocations: 76.3 kB / 0.9701 GB, free: 183.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002214/1.491, allocations: 2.336 MB / 0.9724 GB, free: 182.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/1.492, allocations: 0.9799 MB / 0.9733 GB, free: 182.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/1.494, allocations: 0.5068 MB / 0.9738 GB, free: 181.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.269e-05/1.494, allocations: 304.6 kB / 0.9741 GB, free: 181.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/1.497, allocations: 1.975 MB / 0.976 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/1.501, allocations: 2.607 MB / 0.9786 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006249/1.507, allocations: 4.926 MB / 0.9834 GB, free: 176.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/1.507, allocations: 10.78 kB / 0.9834 GB, free: 176.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01314/1.52, allocations: 7.661 MB / 0.9909 GB, free: 173.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/1.52, allocations: 15.62 kB / 0.9909 GB, free: 173.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/1.52, allocations: 19.75 kB / 0.9909 GB, free: 173.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00819/1.528, allocations: 3.217 MB / 0.994 GB, free: 172.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/1.53, allocations: 401.1 kB / 0.9944 GB, free: 172.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03484/1.565, allocations: 33.89 MB / 1.028 GB, free: 142.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/1.568, allocations: 167.8 kB / 1.028 GB, free: 142.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/1.568, allocations: 108 kB / 1.028 GB, free: 142.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002738/1.571, allocations: 1.804 MB / 1.03 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007063/1.572, allocations: 341.9 kB / 1.03 GB, free: 140.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.583, allocations: 7.247 MB / 1.037 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.584, allocations: 31.94 kB / 1.037 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.985e-05/1.584, allocations: 31.94 kB / 1.037 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.245e-05/1.584, allocations: 15.95 kB / 1.037 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.603, allocations: 12.79 MB / 1.05 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.603, allocations: 11.98 kB / 1.05 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008892/1.604, allocations: 235.1 kB / 1.05 GB, free: 119.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007009/1.611, allocations: 2.851 MB / 1.053 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/1.611, allocations: 48 kB / 1.053 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03325/1.644, allocations: 32.71 MB / 1.085 GB, free: 83.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.644, allocations: 4 kB / 1.085 GB, free: 83.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.655, allocations: 6.79 MB / 1.091 GB, free: 76.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/1.657, allocations: 0.8002 MB / 1.092 GB, free: 75.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004975/1.657, allocations: 51.98 kB / 1.092 GB, free: 75.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.659, allocations: 171.8 kB / 1.092 GB, free: 75.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008177/1.66, allocations: 253.4 kB / 1.092 GB, free: 75.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.66, allocations: 76 kB / 1.092 GB, free: 75.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001751/1.662, allocations: 1.521 MB / 1.094 GB, free: 73.56 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.662, allocations: 0 / 1.094 GB, free: 73.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003826/1.666, allocations: 1.371 MB / 1.095 GB, free: 72.19 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003559/1.666, allocations: 175 kB / 1.095 GB, free: 72.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009496/1.675, allocations: 6.568 MB / 1.102 GB, free: 65.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.675, allocations: 0 / 1.102 GB, free: 65.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006475/1.682, allocations: 4.258 MB / 1.106 GB, free: 61.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004593/1.687, allocations: 1.107 MB / 1.107 GB, free: 60 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/1.701, allocations: 10.25 MB / 1.117 GB, free: 49.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003043/1.704, allocations: 3.639 MB / 1.121 GB, free: 46.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001809/1.706, allocations: 0.5634 MB / 1.121 GB, free: 45.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/1.706, allocations: 159.4 kB / 1.121 GB, free: 45.29 MB / 0.7325 GB Notification: Performance of SimCode: time 1.583e-06/1.706, allocations: 0 / 1.121 GB, free: 45.29 MB / 0.7325 GB Notification: Performance of Templates: time 0.119/1.825, allocations: 76.68 MB / 1.196 GB, free: 1.738 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)