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.0011/0.0011, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009644/0.009644, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.598/1.598, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.555/1.555, allocations: 252 MB / 0.5105 GB, free: 4.66 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.0005861/0.0005862, allocations: 23.98 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6513/0.6519, allocations: 106.3 MB / 0.7287 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03609/0.688, allocations: 32.06 MB / 0.76 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02356/0.7117, allocations: 14.71 MB / 0.7744 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003968/0.7157, allocations: 135.2 kB / 0.7745 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.7185, allocations: 0.7249 MB / 0.7752 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009211/0.7278, allocations: 2.677 MB / 0.7779 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006479/0.7343, allocations: 1.991 MB / 0.7798 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01718/0.7515, allocations: 12.15 MB / 0.7917 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02221/0.7737, allocations: 11.51 MB / 0.8029 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007572/0.7813, allocations: 2.942 MB / 0.8058 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007296/0.7887, allocations: 3.503 MB / 0.8092 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002313/0.791, allocations: 296 kB / 0.8095 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005445/0.7965, allocations: 1.567 MB / 0.811 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004656/0.8012, allocations: 2.279 MB / 0.8132 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00725/0.8085, allocations: 2.777 MB / 0.816 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01626/0.8248, allocations: 10.64 MB / 0.8263 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.8248, allocations: 0 / 0.8263 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.607e-06/0.8248, allocations: 0 / 0.8263 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004252/0.8253, allocations: 0 / 0.8263 GB, free: 7.086 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.01611/0.8414, allocations: 4.837 MB / 0.8311 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.8415, allocations: 8.031 kB / 0.8311 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008206/0.8497, allocations: 1.149 MB / 0.8322 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009402/0.8591, allocations: 3.321 MB / 0.8354 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005848/0.8598, allocations: 370.3 kB / 0.8358 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002357/0.8622, allocations: 0.4922 MB / 0.8363 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.8854, allocations: 8.005 MB / 0.8441 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000367/0.8858, allocations: 23.78 kB / 0.8441 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001944/0.8878, allocations: 216 kB / 0.8443 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001284/0.8891, allocations: 437.5 kB / 0.8447 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.906, allocations: 6.081 MB / 0.8507 GB, free: 13.71 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05395/0.96, allocations: 35.21 MB / 0.8851 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.9635, allocations: 2.03 MB / 0.887 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002852/0.9664, allocations: 1.842 MB / 0.8888 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.9666, allocations: 22 kB / 0.8889 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.9666, allocations: 56.5 kB / 0.8889 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=171): time 4.509e-06/0.9667, allocations: 0 / 0.8889 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276): time 0.6257/1.592, allocations: 39.01 MB / 0.927 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/1.592, allocations: 83.17 kB / 0.9271 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/1.596, allocations: 2.281 MB / 0.9293 GB, free: 157.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002979/1.596, allocations: 69.02 kB / 0.9294 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/1.597, allocations: 2.278 MB / 0.9316 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006701/1.598, allocations: 0.9347 MB / 0.9325 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/1.598, allocations: 235.5 kB / 0.9327 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.104e-05/1.598, allocations: 306.3 kB / 0.933 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/1.601, allocations: 1.976 MB / 0.935 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/1.603, allocations: 2.604 MB / 0.9375 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005097/1.608, allocations: 4.929 MB / 0.9423 GB, free: 146.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/1.609, allocations: 8 kB / 0.9423 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01247/1.621, allocations: 7.753 MB / 0.9499 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/1.621, allocations: 17.75 kB / 0.9499 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.621, allocations: 16 kB / 0.9499 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008475/1.63, allocations: 3.207 MB / 0.9531 GB, free: 135.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/1.631, allocations: 407.2 kB / 0.9535 GB, free: 135 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03691/1.668, allocations: 31.18 MB / 0.9839 GB, free: 103 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/1.672, allocations: 157.9 kB / 0.9841 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006492/1.673, allocations: 112 kB / 0.9842 GB, free: 102.8 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.003991/1.677, allocations: 1.789 MB / 0.9859 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.678, allocations: 340 kB / 0.9862 GB, free: 100.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/1.692, allocations: 7.364 MB / 0.9934 GB, free: 93.17 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/1.692, allocations: 24 kB / 0.9935 GB, free: 93.14 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001031/1.692, allocations: 32 kB / 0.9935 GB, free: 93.11 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.595e-05/1.692, allocations: 11.95 kB / 0.9935 GB, free: 93.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0222/1.715, allocations: 12.93 MB / 1.006 GB, free: 80.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/1.715, allocations: 8 kB / 1.006 GB, free: 80.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009436/1.716, allocations: 228.5 kB / 1.006 GB, free: 79.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00766/1.723, allocations: 2.854 MB / 1.009 GB, free: 76.94 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004961/1.724, allocations: 48 kB / 1.009 GB, free: 76.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03659/1.76, allocations: 29.98 MB / 1.038 GB, free: 46.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.76, allocations: 8 kB / 1.038 GB, free: 46.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/1.774, allocations: 6.886 MB / 1.045 GB, free: 39.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/1.776, allocations: 0.7898 MB / 1.046 GB, free: 38.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/1.777, allocations: 48 kB / 1.046 GB, free: 38.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00255/1.78, allocations: 167.8 kB / 1.046 GB, free: 37.99 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/1.781, allocations: 265.2 kB / 1.046 GB, free: 37.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003092/1.781, allocations: 76 kB / 1.047 GB, free: 37.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002955/1.784, allocations: 1.518 MB / 1.048 GB, free: 36.14 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.41e-07/1.784, allocations: 0 / 1.048 GB, free: 36.14 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005801/1.79, allocations: 1.363 MB / 1.049 GB, free: 34.78 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.0005335/1.791, allocations: 175.9 kB / 1.049 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.802, allocations: 6.905 MB / 1.056 GB, free: 27.61 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/1.802, allocations: 0 / 1.056 GB, free: 27.61 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007737/1.81, allocations: 4.42 MB / 1.061 GB, free: 23.11 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008751/1.819, allocations: 1.028 MB / 1.062 GB, free: 22.11 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.838, allocations: 12.49 MB / 1.074 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00549/1.844, allocations: 3.642 MB / 1.077 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003183/1.847, allocations: 0.5556 MB / 1.078 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007453/1.848, allocations: 159.4 kB / 1.078 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of SimCode: time 1.283e-06/1.848, allocations: 3.938 kB / 1.078 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of Templates: time 0.1338/1.982, allocations: 73.36 MB / 1.15 GB, free: 12.79 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: