Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.605/1.605, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 176.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.0009942, allocations: 98.36 kB / 0.7808 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004045, allocations: 12 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6379/0.6384, allocations: 120.3 MB / 1.026 GB, free: 56.98 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.8418, allocations: 189.6 MB / 1.211 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.8422, allocations: 97 kB / 1.212 GB, free: 460 kB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.167/2.009, allocations: 348.4 MB / 1.552 GB, free: 57.21 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.834e-06/2.009, allocations: 0 / 1.552 GB, free: 57.21 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005677/2.01, allocations: 171.8 kB / 1.552 GB, free: 57.05 MB / 0.8855 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.01886/2.029, allocations: 6.057 MB / 1.558 GB, free: 50.91 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/2.029, allocations: 12.03 kB / 1.558 GB, free: 50.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/2.043, allocations: 1.771 MB / 1.56 GB, free: 49.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/2.058, allocations: 5.155 MB / 1.565 GB, free: 43.88 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004545/2.059, allocations: 456.1 kB / 1.565 GB, free: 43.43 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002982/2.062, allocations: 0.5935 MB / 1.566 GB, free: 42.84 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/2.086, allocations: 10.04 MB / 1.575 GB, free: 32.31 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/2.087, allocations: 31.7 kB / 1.576 GB, free: 32.28 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002487/2.089, allocations: 267.9 kB / 1.576 GB, free: 32.02 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004204/2.09, allocations: 380.1 kB / 1.576 GB, free: 31.64 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/2.108, allocations: 7.832 MB / 1.584 GB, free: 23.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07022/2.179, allocations: 46.4 MB / 1.629 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006122/2.185, allocations: 4.183 MB / 1.633 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005602/2.19, allocations: 3.594 MB / 1.637 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003604/2.191, allocations: 42.77 kB / 1.637 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.685e-05/2.191, allocations: 69.34 kB / 1.637 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=353): time 6.693e-06/2.191, allocations: 0 / 1.637 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578): time 0.9699/3.161, allocations: 106.5 MB / 1.741 GB, free: 173.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/3.161, allocations: 113.4 kB / 1.741 GB, free: 173.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/3.166, allocations: 2.492 MB / 1.743 GB, free: 173.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001197/3.167, allocations: 114.9 kB / 1.743 GB, free: 173.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/3.169, allocations: 2.703 MB / 1.746 GB, free: 172.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002535/3.171, allocations: 1.953 MB / 1.748 GB, free: 171.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009658/3.172, allocations: 115.5 kB / 1.748 GB, free: 171.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004223/3.173, allocations: 0.528 MB / 1.749 GB, free: 171.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00616/3.179, allocations: 3.786 MB / 1.752 GB, free: 171 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007001/3.186, allocations: 4.929 MB / 1.757 GB, free: 169.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/3.2, allocations: 9.529 MB / 1.766 GB, free: 168.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.318e-05/3.2, allocations: 15.5 kB / 1.766 GB, free: 168.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03357/3.234, allocations: 16.01 MB / 1.782 GB, free: 166.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/3.234, allocations: 15.75 kB / 1.782 GB, free: 166.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-05/3.234, allocations: 31.91 kB / 1.782 GB, free: 166.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02456/3.259, allocations: 7.74 MB / 1.79 GB, free: 165 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/3.261, allocations: 0.5553 MB / 1.79 GB, free: 165 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08678/3.348, allocations: 67.59 MB / 1.856 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005605/3.354, allocations: 240.2 kB / 1.857 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/3.355, allocations: 204.4 kB / 1.857 GB, free: 126.2 MB / 0.9636 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.006478/3.362, allocations: 2.434 MB / 1.859 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001787/3.364, allocations: 465.6 kB / 1.86 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03433/3.398, allocations: 15.94 MB / 1.875 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-05/3.398, allocations: 52 kB / 1.875 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001885/3.398, allocations: 75.94 kB / 1.875 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.375e-05/3.398, allocations: 28.23 kB / 1.875 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04657/3.445, allocations: 24 MB / 1.899 GB, free: 98.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-05/3.445, allocations: 8 kB / 1.899 GB, free: 98.97 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/3.447, allocations: 326.6 kB / 1.899 GB, free: 98.72 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02021/3.467, allocations: 6.871 MB / 1.906 GB, free: 93.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001305/3.468, allocations: 107.8 kB / 1.906 GB, free: 93.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07696/3.545, allocations: 64.45 MB / 1.969 GB, free: 35.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/3.545, allocations: 15.94 kB / 1.969 GB, free: 35.09 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0355/3.581, allocations: 20.27 MB / 1.989 GB, free: 17.73 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003649/3.585, allocations: 1.26 MB / 1.99 GB, free: 16.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002073/3.587, allocations: 111.5 kB / 1.99 GB, free: 16.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004143/3.591, allocations: 242.8 kB / 1.99 GB, free: 16.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002365/3.593, allocations: 0.519 MB / 1.991 GB, free: 15.97 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008188/3.594, allocations: 143.9 kB / 1.991 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002828/3.597, allocations: 1.622 MB / 1.992 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3e-07/3.597, allocations: 0 / 1.992 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009433/3.606, allocations: 2.312 MB / 1.995 GB, free: 12.18 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.001042/3.607, allocations: 238.2 kB / 1.995 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0238/3.631, allocations: 13.83 MB / 2.008 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/3.631, allocations: 0 / 2.008 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01888/3.65, allocations: 9.07 MB / 2.017 GB, free: 7.543 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01204/3.662, allocations: 1.169 MB / 2.018 GB, free: 6.625 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03434/3.697, allocations: 17.89 MB / 2.036 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/3.707, allocations: 4.896 MB / 2.041 GB, free: 2.555 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003692/3.71, allocations: 0.7456 MB / 2.041 GB, free: 2.043 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007934/3.711, allocations: 191.4 kB / 2.042 GB, free: 1.855 MB / 0.9948 GB Notification: Performance of SimCode: time 7.61e-07/3.711, allocations: 0 / 2.042 GB, free: 1.855 MB / 0.9948 GB Notification: Performance of Templates: time 0.6474/4.359, allocations: 125.9 MB / 2.164 GB, free: 190.9 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)