Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.562/2.562, allocations: 287.5 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 182.2 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008847/0.0008844, allocations: 91.33 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.000463, allocations: 10.44 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.217, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9743/1.191, allocations: 185.9 MB / 1.161 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/1.192, allocations: 99.25 kB / 1.161 GB, free: 13.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.972/3.164, allocations: 321.2 MB / 1.475 GB, free: 200.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.206e-06/3.164, allocations: 0 / 1.475 GB, free: 200.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008114/3.165, allocations: 177 kB / 1.475 GB, free: 200.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03088/3.196, allocations: 6.06 MB / 1.481 GB, free: 197.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/3.196, allocations: 11.62 kB / 1.481 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02167/3.218, allocations: 1.773 MB / 1.482 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0223/3.24, allocations: 5.155 MB / 1.487 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000596/3.241, allocations: 452.8 kB / 1.488 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003469/3.244, allocations: 0.6016 MB / 1.488 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03469/3.279, allocations: 10.03 MB / 1.498 GB, free: 194.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004442/3.279, allocations: 35.72 kB / 1.498 GB, free: 194.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003166/3.282, allocations: 276.5 kB / 1.499 GB, free: 194.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000651/3.283, allocations: 381.2 kB / 1.499 GB, free: 194.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0262/3.309, allocations: 7.837 MB / 1.507 GB, free: 194.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09487/3.404, allocations: 46.39 MB / 1.552 GB, free: 168.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/3.418, allocations: 4.191 MB / 1.556 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01065/3.428, allocations: 3.6 MB / 1.56 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006123/3.429, allocations: 39.94 kB / 1.56 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.202e-05/3.429, allocations: 74.06 kB / 1.56 GB, free: 167.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=353): time 1.271e-05/3.429, allocations: 0 / 1.56 GB, free: 167.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=578): time 0.844/4.273, allocations: 106.5 MB / 1.664 GB, free: 122 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/4.273, allocations: 111.9 kB / 1.664 GB, free: 121.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005174/4.279, allocations: 2.497 MB / 1.666 GB, free: 119.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001485/4.28, allocations: 117.7 kB / 1.666 GB, free: 119.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002266/4.282, allocations: 2.703 MB / 1.669 GB, free: 117.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003182/4.286, allocations: 1.956 MB / 1.671 GB, free: 115.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/4.287, allocations: 116 kB / 1.671 GB, free: 115.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004214/4.287, allocations: 0.5264 MB / 1.672 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009427/4.297, allocations: 3.789 MB / 1.675 GB, free: 111.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/4.307, allocations: 4.919 MB / 1.68 GB, free: 106.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0215/4.329, allocations: 9.528 MB / 1.689 GB, free: 97.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.846e-05/4.329, allocations: 15.94 kB / 1.689 GB, free: 97.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06055/4.39, allocations: 16.01 MB / 1.705 GB, free: 81.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/4.39, allocations: 20 kB / 1.705 GB, free: 81.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.013e-05/4.39, allocations: 28 kB / 1.705 GB, free: 81.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04244/4.432, allocations: 7.742 MB / 1.713 GB, free: 73.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004351/4.437, allocations: 0.5537 MB / 1.713 GB, free: 73.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1421/4.579, allocations: 67.59 MB / 1.779 GB, free: 4.055 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007947/4.587, allocations: 247.3 kB / 1.779 GB, free: 3.816 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/4.588, allocations: 200 kB / 1.78 GB, free: 3.621 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (286): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007658/4.596, allocations: 2.441 MB / 1.782 GB, free: 1.168 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002096/4.598, allocations: 470.5 kB / 1.782 GB, free: 0.7031 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06925/4.668, allocations: 15.96 MB / 1.798 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.971e-05/4.668, allocations: 56 kB / 1.798 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002484/4.668, allocations: 72 kB / 1.798 GB, free: 0.6836 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001376/4.668, allocations: 27.89 kB / 1.798 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8465/5.515, allocations: 24 MB / 1.822 GB, free: 193.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001229/5.515, allocations: 7.25 kB / 1.822 GB, free: 193.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004812/5.52, allocations: 322.9 kB / 1.822 GB, free: 193.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05844/5.578, allocations: 6.878 MB / 1.829 GB, free: 193.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002034/5.58, allocations: 111.2 kB / 1.829 GB, free: 193.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.212/5.792, allocations: 64.45 MB / 1.892 GB, free: 178.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/5.792, allocations: 16.12 kB / 1.892 GB, free: 178.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06754/5.86, allocations: 20.26 MB / 1.911 GB, free: 170 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005285/5.865, allocations: 1.261 MB / 1.913 GB, free: 169.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002756/5.868, allocations: 105.7 kB / 1.913 GB, free: 169.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006901/5.875, allocations: 233.8 kB / 1.913 GB, free: 169.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003441/5.878, allocations: 0.5252 MB / 1.914 GB, free: 169.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001401/5.88, allocations: 139 kB / 1.914 GB, free: 169.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004004/5.884, allocations: 1.622 MB / 1.915 GB, free: 168.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.984e-06/5.884, allocations: 1.5 kB / 1.915 GB, free: 168.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0139/5.898, allocations: 2.319 MB / 1.917 GB, free: 168.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001923/5.9, allocations: 239.5 kB / 1.918 GB, free: 168.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04164/5.941, allocations: 13.82 MB / 1.931 GB, free: 161.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/5.942, allocations: 0 / 1.931 GB, free: 161.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.02833/5.97, allocations: 9.055 MB / 1.94 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01741/5.987, allocations: 1.174 MB / 1.941 GB, free: 156.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04778/6.035, allocations: 17.89 MB / 1.959 GB, free: 147.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01077/6.046, allocations: 4.899 MB / 1.963 GB, free: 146.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004735/6.051, allocations: 0.7419 MB / 1.964 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009878/6.052, allocations: 192.6 kB / 1.964 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of SimCode: time 9.41e-07/6.052, allocations: 0 / 1.964 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.297/6.349, allocations: 125 MB / 2.086 GB, free: 70.39 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)