Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 288.4 MB / 304.3 MB, free: 8.105 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.0009486/0.0009486, allocations: 180.5 kB / 373 MB, free: 10.14 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.643/1.643, allocations: 205.4 MB / 0.6317 GB, free: 9.816 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.000782/0.0007819, allocations: 84.2 kB / 0.745 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.000412, allocations: 12.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8783/1.093, allocations: 171.6 MB / 1.148 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.093, allocations: 92.03 kB / 1.148 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.508/1.601, allocations: 202.4 MB / 1.346 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.226e-06/1.601, allocations: 4 kB / 1.346 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006234/1.602, allocations: 143.9 kB / 1.346 GB, free: 9.945 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02644/1.628, allocations: 5.179 MB / 1.351 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/1.628, allocations: 8.031 kB / 1.351 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/1.638, allocations: 1.149 MB / 1.352 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0131/1.652, allocations: 3.782 MB / 1.356 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007008/1.652, allocations: 428 kB / 1.356 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003497/1.656, allocations: 0.5472 MB / 1.357 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03179/1.688, allocations: 8.859 MB / 1.366 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007171/1.688, allocations: 23.91 kB / 1.366 GB, free: 5.402 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004254/1.693, allocations: 259.9 kB / 1.366 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006415/1.693, allocations: 299 kB / 1.366 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/1.714, allocations: 6.441 MB / 1.372 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06791/1.782, allocations: 41.49 MB / 1.413 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005528/1.788, allocations: 3.099 MB / 1.416 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/1.791, allocations: 2.145 MB / 1.418 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/1.791, allocations: 25.98 kB / 1.418 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.146e-05/1.791, allocations: 60.56 kB / 1.418 GB, free: 11.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=209): time 5.81e-06/1.791, allocations: 7.938 kB / 1.418 GB, free: 11.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=212): time 0.02827/1.82, allocations: 10.61 MB / 1.429 GB, free: 1.109 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/1.82, allocations: 73.41 kB / 1.429 GB, free: 1.027 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5463/2.366, allocations: 1.931 MB / 1.43 GB, free: 227.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005298/2.367, allocations: 68.62 kB / 1.431 GB, free: 227.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001877/2.369, allocations: 2.369 MB / 1.433 GB, free: 227.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008279/2.37, allocations: 0.7268 MB / 1.434 GB, free: 227.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/2.37, allocations: 53.81 kB / 1.434 GB, free: 227.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000155/2.37, allocations: 405.5 kB / 1.434 GB, free: 227 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/2.372, allocations: 1.32 MB / 1.435 GB, free: 227 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/2.374, allocations: 2.107 MB / 1.437 GB, free: 226.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/2.379, allocations: 3.769 MB / 1.441 GB, free: 225.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.814e-05/2.379, allocations: 7.094 kB / 1.441 GB, free: 225.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.008954/2.388, allocations: 4.976 MB / 1.446 GB, free: 224.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/2.388, allocations: 20.12 kB / 1.446 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.393e-05/2.388, allocations: 24.81 kB / 1.446 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003651/2.392, allocations: 1.533 MB / 1.447 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/2.394, allocations: 446.8 kB / 1.448 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/2.417, allocations: 17.02 MB / 1.464 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/2.419, allocations: 149.5 kB / 1.465 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/2.42, allocations: 106.4 kB / 1.465 GB, free: 219.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004265/2.424, allocations: 1.951 MB / 1.467 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006662/2.424, allocations: 293.1 kB / 1.467 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007597/2.432, allocations: 4.441 MB / 1.471 GB, free: 219.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/2.432, allocations: 20.16 kB / 1.471 GB, free: 219.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.918e-05/2.432, allocations: 20.97 kB / 1.471 GB, free: 219.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/2.432, allocations: 11.67 kB / 1.471 GB, free: 219.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/2.452, allocations: 9.651 MB / 1.481 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/2.453, allocations: 4.031 kB / 1.481 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/2.454, allocations: 240.8 kB / 1.481 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/2.457, allocations: 1.392 MB / 1.482 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001853/2.457, allocations: 39.62 kB / 1.482 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/2.476, allocations: 17.05 MB / 1.499 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/2.476, allocations: 13.06 kB / 1.499 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006725/2.482, allocations: 4.522 MB / 1.503 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/2.484, allocations: 0.631 MB / 1.504 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/2.485, allocations: 45.91 kB / 1.504 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/2.486, allocations: 112.4 kB / 1.504 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/2.486, allocations: 185.3 kB / 1.504 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/2.487, allocations: 57 kB / 1.504 GB, free: 210.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001733/2.488, allocations: 1.265 MB / 1.506 GB, free: 210.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/2.488, allocations: 0 / 1.506 GB, free: 210.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004214/2.492, allocations: 1.177 MB / 1.507 GB, free: 210 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003614/2.493, allocations: 173.7 kB / 1.507 GB, free: 209.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006421/2.499, allocations: 4.605 MB / 1.511 GB, free: 208 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/2.499, allocations: 0 / 1.511 GB, free: 208 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004055/2.503, allocations: 2.915 MB / 1.514 GB, free: 206.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/2.509, allocations: 0.7817 MB / 1.515 GB, free: 206.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/2.527, allocations: 11.19 MB / 1.526 GB, free: 200.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004012/2.531, allocations: 3.696 MB / 1.53 GB, free: 199.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002093/2.533, allocations: 0.5436 MB / 1.53 GB, free: 199.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/2.533, allocations: 149.5 kB / 1.53 GB, free: 199.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.192e-06/2.533, allocations: 0 / 1.53 GB, free: 199.2 MB / 0.948 GB Notification: Performance of Templates: time 0.07341/2.607, allocations: 48.11 MB / 1.577 GB, free: 197.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)