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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 288.3 MB / 303.2 MB, free: 8.191 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.00119/0.00119, allocations: 196 kB / 371.9 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.816/1.816, allocations: 205.4 MB / 0.6306 GB, free: 9.984 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.0008843/0.0008845, allocations: 94.84 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004805, allocations: 12.09 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2976, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9018/1.199, allocations: 170.9 MB / 1.146 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/1.2, allocations: 99.52 kB / 1.146 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.471/1.671, allocations: 182.4 MB / 1.324 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.278e-06/1.671, allocations: 0 / 1.324 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0007082/1.672, allocations: 127.9 kB / 1.325 GB, free: 15.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.019/1.691, allocations: 4.5 MB / 1.329 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.691, allocations: 12.02 kB / 1.329 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008505/1.699, allocations: 1.024 MB / 1.33 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/1.712, allocations: 3.229 MB / 1.333 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004989/1.712, allocations: 361.6 kB / 1.334 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/1.715, allocations: 472 kB / 1.334 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02612/1.741, allocations: 7.499 MB / 1.341 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004038/1.742, allocations: 27.7 kB / 1.341 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00265/1.744, allocations: 220 kB / 1.342 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004682/1.745, allocations: 269.2 kB / 1.342 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/1.761, allocations: 5.407 MB / 1.347 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05398/1.815, allocations: 36.25 MB / 1.382 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/1.819, allocations: 2.136 MB / 1.385 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/1.819, allocations: 17.31 kB / 1.385 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/1.819, allocations: 55.86 kB / 1.385 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=157): time 4.458e-06/1.819, allocations: 0 / 1.385 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=160): time 0.01663/1.836, allocations: 7.53 MB / 1.392 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/1.836, allocations: 68.72 kB / 1.392 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/1.839, allocations: 1.556 MB / 1.394 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002307/1.84, allocations: 57.7 kB / 1.394 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001763/1.841, allocations: 2.104 MB / 1.396 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007082/1.842, allocations: 0.5585 MB / 1.396 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/1.842, allocations: 40 kB / 1.396 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002325/1.843, allocations: 394 kB / 1.397 GB, free: 1.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/1.844, allocations: 1.007 MB / 1.398 GB, free: 428 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/1.847, allocations: 1.732 MB / 1.399 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/1.849, allocations: 1.306 MB / 1.401 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/1.849, allocations: 4 kB / 1.401 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.007126/1.856, allocations: 3.807 MB / 1.404 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/1.856, allocations: 20.22 kB / 1.404 GB, free: 9.152 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/1.856, allocations: 20 kB / 1.404 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/1.859, allocations: 0.9193 MB / 1.405 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.86, allocations: 411.3 kB / 1.406 GB, free: 7.777 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/1.88, allocations: 21.4 MB / 1.427 GB, free: 0.7852 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/1.882, allocations: 123.9 kB / 1.427 GB, free: 0.6641 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004599/1.883, allocations: 100.1 kB / 1.427 GB, free: 0.5664 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.6892/2.572, allocations: 1.639 MB / 1.428 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/2.573, allocations: 252.8 kB / 1.429 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007018/2.58, allocations: 3.251 MB / 1.432 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/2.58, allocations: 17.33 kB / 1.432 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/2.58, allocations: 15.67 kB / 1.432 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/2.58, allocations: 9.969 kB / 1.432 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/2.598, allocations: 7.501 MB / 1.439 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/2.598, allocations: 4.281 kB / 1.439 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/2.599, allocations: 222.7 kB / 1.439 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/2.602, allocations: 0.8741 MB / 1.44 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/2.602, allocations: 33.84 kB / 1.44 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/2.623, allocations: 21.37 MB / 1.461 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/2.623, allocations: 5.094 kB / 1.461 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007605/2.631, allocations: 3.695 MB / 1.465 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/2.633, allocations: 0.5325 MB / 1.465 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004935/2.634, allocations: 35.91 kB / 1.465 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/2.635, allocations: 92.11 kB / 1.465 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005991/2.635, allocations: 142 kB / 1.465 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/2.636, allocations: 46.88 kB / 1.466 GB, free: 219.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00252/2.638, allocations: 1.184 MB / 1.467 GB, free: 219.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/2.638, allocations: 0 / 1.467 GB, free: 219.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005206/2.643, allocations: 0.9332 MB / 1.468 GB, free: 219.5 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005274/2.644, allocations: 164.5 kB / 1.468 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008262/2.652, allocations: 4.338 MB / 1.472 GB, free: 218 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.008e-05/2.652, allocations: 6.125 kB / 1.472 GB, free: 218 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005425/2.658, allocations: 2.99 MB / 1.475 GB, free: 216.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/2.663, allocations: 0.719 MB / 1.476 GB, free: 216.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/2.69, allocations: 9.189 MB / 1.485 GB, free: 212.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00701/2.697, allocations: 3.295 MB / 1.488 GB, free: 211.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003055/2.7, allocations: 0.5143 MB / 1.488 GB, free: 211.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000493/2.701, allocations: 145.5 kB / 1.488 GB, free: 211.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.304e-06/2.701, allocations: 1.875 kB / 1.488 GB, free: 211.7 MB / 0.948 GB Notification: Performance of Templates: time 0.08168/2.782, allocations: 38.85 MB / 1.526 GB, free: 210.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)