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_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001431/0.001432, 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.001687/0.001688, allocations: 190.6 kB / 16.14 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.563/1.563, allocations: 205.1 MB / 222 MB, free: 4.754 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.749/1.749, allocations: 251.7 MB / 0.5088 GB, free: 3.289 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.001323/0.001323, allocations: 67.91 kB / 0.6216 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6595, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03868/0.6982, allocations: 32.87 MB / 0.7559 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02649/0.7247, allocations: 14.87 MB / 0.7704 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006674/0.7315, allocations: 143.2 kB / 0.7706 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01456/0.7461, allocations: 3.393 MB / 0.7739 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01525/0.7614, allocations: 2.68 MB / 0.7765 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01108/0.7726, allocations: 2.11 MB / 0.7786 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02326/0.7959, allocations: 12.16 MB / 0.7904 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02439/0.8204, allocations: 10.35 MB / 0.8006 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.8316, allocations: 3.414 MB / 0.8039 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01165/0.8433, allocations: 4.088 MB / 0.8079 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.004517/0.8479, allocations: 484 kB / 0.8083 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01046/0.8585, allocations: 1.747 MB / 0.81 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.008825/0.8674, allocations: 2.572 MB / 0.8126 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0129/0.8803, allocations: 3.107 MB / 0.8156 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02401/0.9044, allocations: 10.99 MB / 0.8263 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.9045, allocations: 0 / 0.8263 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.507e-06/0.9045, allocations: 0 / 0.8263 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004754/0.905, allocations: 0 / 0.8263 GB, free: 3.773 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.02799/0.933, allocations: 5.971 MB / 0.8322 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.9331, allocations: 12.03 kB / 0.8322 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.9442, allocations: 1.142 MB / 0.8333 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009277/0.9535, allocations: 3.324 MB / 0.8365 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005007/0.9541, allocations: 374.4 kB / 0.8369 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00259/0.9567, allocations: 500 kB / 0.8374 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/0.9795, allocations: 8.009 MB / 0.8452 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000207/0.9798, allocations: 19.84 kB / 0.8452 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001296/0.9811, allocations: 216.1 kB / 0.8454 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00105/0.9822, allocations: 441.5 kB / 0.8458 GB, free: 15.35 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/0.9975, allocations: 6.089 MB / 0.8518 GB, free: 9.25 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05442/1.052, allocations: 35.12 MB / 0.8861 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/1.055, allocations: 2.022 MB / 0.8881 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/1.058, allocations: 1.869 MB / 0.8899 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/1.058, allocations: 18 kB / 0.8899 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.358e-05/1.058, allocations: 60.5 kB / 0.89 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 3.867e-06/1.058, allocations: 0 / 0.89 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.7113/1.77, allocations: 38.87 MB / 0.9279 GB, free: 158.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/1.77, allocations: 79.83 kB / 0.928 GB, free: 158.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003738/1.773, allocations: 2.279 MB / 0.9302 GB, free: 157 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004188/1.774, allocations: 72.55 kB / 0.9303 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/1.775, allocations: 2.278 MB / 0.9325 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007991/1.776, allocations: 0.9365 MB / 0.9334 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008273/1.777, allocations: 0.5061 MB / 0.9339 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/1.777, allocations: 305.1 kB / 0.9342 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/1.779, allocations: 1.981 MB / 0.9361 GB, free: 151 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/1.782, allocations: 2.595 MB / 0.9387 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005055/1.787, allocations: 4.933 MB / 0.9435 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.787, allocations: 4 kB / 0.9435 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01268/1.799, allocations: 7.753 MB / 0.9511 GB, free: 135.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/1.799, allocations: 20.02 kB / 0.9511 GB, free: 135.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/1.8, allocations: 20 kB / 0.9511 GB, free: 135 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008399/1.808, allocations: 3.212 MB / 0.9542 GB, free: 131.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/1.81, allocations: 403.2 kB / 0.9546 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03283/1.843, allocations: 31.08 MB / 0.985 GB, free: 99.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/1.846, allocations: 168.6 kB / 0.9851 GB, free: 99.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003004/1.846, allocations: 109.4 kB / 0.9852 GB, free: 99.3 MB / 0.7169 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.003033/1.849, allocations: 1.796 MB / 0.987 GB, free: 97.49 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007942/1.85, allocations: 332.1 kB / 0.9873 GB, free: 97.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.861, allocations: 7.364 MB / 0.9945 GB, free: 89.72 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/1.861, allocations: 28 kB / 0.9945 GB, free: 89.69 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-05/1.861, allocations: 28 kB / 0.9946 GB, free: 89.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-05/1.862, allocations: 15.23 kB / 0.9946 GB, free: 89.65 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/1.881, allocations: 12.92 MB / 1.007 GB, free: 76.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.881, allocations: 8 kB / 1.007 GB, free: 76.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008331/1.882, allocations: 227.6 kB / 1.007 GB, free: 76.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007111/1.889, allocations: 2.855 MB / 1.01 GB, free: 73.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/1.889, allocations: 52 kB / 1.01 GB, free: 73.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03098/1.92, allocations: 29.9 MB / 1.039 GB, free: 42.76 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.92, allocations: 11.94 kB / 1.039 GB, free: 42.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.931, allocations: 6.886 MB / 1.046 GB, free: 35.64 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/1.933, allocations: 0.782 MB / 1.047 GB, free: 34.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004533/1.933, allocations: 52 kB / 1.047 GB, free: 34.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/1.935, allocations: 169.3 kB / 1.047 GB, free: 34.62 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009517/1.936, allocations: 261.2 kB / 1.047 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/1.936, allocations: 76 kB / 1.047 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001856/1.938, allocations: 1.521 MB / 1.049 GB, free: 32.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.938, allocations: 0 / 1.049 GB, free: 32.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003922/1.942, allocations: 1.355 MB / 1.05 GB, free: 31.42 MB / 0.7169 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.0003488/1.942, allocations: 179 kB / 1.05 GB, free: 31.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.952, allocations: 6.886 MB / 1.057 GB, free: 24.26 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.936e-05/1.952, allocations: 4 kB / 1.057 GB, free: 24.26 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006875/1.959, allocations: 4.415 MB / 1.062 GB, free: 19.76 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005453/1.965, allocations: 1.021 MB / 1.063 GB, free: 18.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/1.985, allocations: 12.49 MB / 1.075 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004919/1.99, allocations: 3.639 MB / 1.078 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002401/1.992, allocations: 0.5595 MB / 1.079 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/1.993, allocations: 155.4 kB / 1.079 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/1.993, allocations: 0 / 1.079 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.1353/2.128, allocations: 75.14 MB / 1.152 GB, free: 7.68 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)