Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.907/1.907, allocations: 292.6 MB / 307.5 MB, free: 5.246 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.001468/0.001468, allocations: 185 kB / 377.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 0.6367 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008806/0.0008803, allocations: 91.25 kB / 0.751 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.00047, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3402, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9511/1.291, allocations: 187.1 MB / 1.171 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/1.292, allocations: 98.16 kB / 1.171 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.471/2.763, allocations: 356.3 MB / 1.519 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.881e-06/2.763, allocations: 0 / 1.519 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0009823/2.764, allocations: 174.7 kB / 1.519 GB, free: 155.8 MB / 0.9323 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.02999/2.794, allocations: 6.176 MB / 1.525 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/2.794, allocations: 11.44 kB / 1.525 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01675/2.811, allocations: 1.772 MB / 1.527 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/2.828, allocations: 5.065 MB / 1.532 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004938/2.828, allocations: 454.8 kB / 1.532 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003486/2.832, allocations: 0.6016 MB / 1.533 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02828/2.86, allocations: 9.984 MB / 1.543 GB, free: 145 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002993/2.86, allocations: 34.19 kB / 1.543 GB, free: 145 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001713/2.862, allocations: 271.4 kB / 1.543 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004821/2.863, allocations: 373.8 kB / 1.543 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/2.884, allocations: 7.834 MB / 1.551 GB, free: 141.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0717/2.955, allocations: 46.37 MB / 1.596 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006585/2.962, allocations: 4.192 MB / 1.6 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005164/2.963, allocations: 36.53 kB / 1.6 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/2.963, allocations: 71.94 kB / 1.601 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=353): time 4.959e-06/2.963, allocations: 0 / 1.601 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578): time 0.424/3.387, allocations: 106.4 MB / 1.704 GB, free: 6.152 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/3.387, allocations: 111.9 kB / 1.704 GB, free: 6.027 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/3.39, allocations: 2.145 MB / 1.707 GB, free: 3.887 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001486/3.392, allocations: 117.7 kB / 1.707 GB, free: 3.766 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/3.393, allocations: 2.7 MB / 1.709 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00267/3.396, allocations: 1.949 MB / 1.711 GB, free: 15.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004493/3.396, allocations: 116 kB / 1.711 GB, free: 14.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004612/3.397, allocations: 0.5374 MB / 1.712 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006009/3.403, allocations: 3.786 MB / 1.716 GB, free: 10.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006955/3.41, allocations: 4.902 MB / 1.72 GB, free: 5.324 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00702/3.417, allocations: 4.583 MB / 1.725 GB, free: 0.7031 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/3.417, allocations: 8 kB / 1.725 GB, free: 0.6953 MB / 0.948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.6092/4.026, allocations: 15.99 MB / 1.74 GB, free: 169.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-05/4.026, allocations: 19.62 kB / 1.74 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-05/4.026, allocations: 30.91 kB / 1.741 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02827/4.054, allocations: 7.738 MB / 1.748 GB, free: 169.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/4.057, allocations: 0.5594 MB / 1.749 GB, free: 169.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09248/4.15, allocations: 70.51 MB / 1.817 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00608/4.156, allocations: 238.6 kB / 1.818 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001698/4.157, allocations: 212.5 kB / 1.818 GB, free: 146.6 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.006589/4.164, allocations: 2.432 MB / 1.82 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/4.165, allocations: 466.6 kB / 1.821 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03618/4.202, allocations: 15.91 MB / 1.836 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-05/4.202, allocations: 54.97 kB / 1.836 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003137/4.202, allocations: 73.62 kB / 1.836 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001304/4.202, allocations: 28.95 kB / 1.836 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05498/4.257, allocations: 23.98 MB / 1.86 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-05/4.257, allocations: 4.438 kB / 1.86 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/4.259, allocations: 324.7 kB / 1.86 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02206/4.281, allocations: 6.879 MB / 1.867 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001201/4.282, allocations: 106.6 kB / 1.867 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07875/4.361, allocations: 67.37 MB / 1.933 GB, free: 89.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/4.361, allocations: 14 kB / 1.933 GB, free: 89.69 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03714/4.398, allocations: 20.95 MB / 1.953 GB, free: 80.11 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004406/4.403, allocations: 1.255 MB / 1.954 GB, free: 79.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/4.404, allocations: 112.5 kB / 1.955 GB, free: 79.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/4.408, allocations: 234 kB / 1.955 GB, free: 79.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001838/4.41, allocations: 0.5222 MB / 1.955 GB, free: 79.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004066/4.41, allocations: 134.1 kB / 1.955 GB, free: 79.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002324/4.412, allocations: 1.622 MB / 1.957 GB, free: 78.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/4.412, allocations: 3.656 kB / 1.957 GB, free: 78.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009046/4.421, allocations: 2.335 MB / 1.959 GB, free: 78.26 MB / 0.948 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.001124/4.423, allocations: 238 kB / 1.96 GB, free: 78.08 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02369/4.446, allocations: 13.83 MB / 1.973 GB, free: 70.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/4.446, allocations: 0 / 1.973 GB, free: 70.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0167/4.463, allocations: 9.054 MB / 1.982 GB, free: 62.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006544/4.47, allocations: 1.103 MB / 1.983 GB, free: 61.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03761/4.507, allocations: 17.93 MB / 2 GB, free: 45.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01144/4.519, allocations: 5.016 MB / 2.005 GB, free: 41.83 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006718/4.526, allocations: 0.7426 MB / 2.006 GB, free: 41.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/4.527, allocations: 191.4 kB / 2.006 GB, free: 41.13 MB / 0.948 GB Notification: Performance of SimCode: time 1.844e-06/4.527, allocations: 3.844 kB / 2.006 GB, free: 41.13 MB / 0.948 GB Notification: Performance of Templates: time 0.7137/5.241, allocations: 125.1 MB / 2.128 GB, free: 178.4 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)