Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 293 MB / 309 MB, free: 4.777 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.001016/0.001016, allocations: 179.3 kB / 378.7 MB, free: 1.012 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.525/1.525, allocations: 205.4 MB / 0.6383 GB, free: 8.203 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.0007651/0.0007652, allocations: 83.42 kB / 0.7527 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005174, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2534, allocations: 116.4 MB / 0.9905 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8166/1.07, allocations: 172.2 MB / 1.159 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/1.07, allocations: 93.53 kB / 1.159 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.4988/1.569, allocations: 200.3 MB / 1.354 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.515e-06/1.569, allocations: 4 kB / 1.354 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005972/1.57, allocations: 131.9 kB / 1.354 GB, free: 14.44 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02035/1.59, allocations: 4.69 MB / 1.359 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.59, allocations: 8.031 kB / 1.359 GB, free: 9.668 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008708/1.599, allocations: 1.056 MB / 1.36 GB, free: 8.605 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/1.61, allocations: 3.461 MB / 1.363 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005221/1.611, allocations: 423.4 kB / 1.364 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002938/1.614, allocations: 0.5392 MB / 1.364 GB, free: 4.133 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6717/2.285, allocations: 8.63 MB / 1.373 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002609/2.286, allocations: 29.34 kB / 1.373 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/2.287, allocations: 244.8 kB / 1.373 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003504/2.287, allocations: 312.4 kB / 1.373 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/2.302, allocations: 6.152 MB / 1.379 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0606/2.363, allocations: 40.12 MB / 1.419 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004524/2.367, allocations: 3.084 MB / 1.422 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/2.37, allocations: 1.974 MB / 1.423 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.851e-05/2.37, allocations: 21.17 kB / 1.424 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/2.37, allocations: 53 kB / 1.424 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=179): time 4.919e-06/2.37, allocations: 3.719 kB / 1.424 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.02266/2.393, allocations: 10.01 MB / 1.433 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/2.393, allocations: 75.69 kB / 1.433 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/2.395, allocations: 1.506 MB / 1.435 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/2.395, allocations: 58.02 kB / 1.435 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/2.396, allocations: 2.24 MB / 1.437 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/2.397, allocations: 0.6357 MB / 1.438 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/2.397, allocations: 44.5 kB / 1.438 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001397/2.397, allocations: 393.2 kB / 1.438 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/2.399, allocations: 1.163 MB / 1.439 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/2.4, allocations: 1.858 MB / 1.441 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/2.404, allocations: 3.329 MB / 1.444 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/2.404, allocations: 7.156 kB / 1.444 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007066/2.411, allocations: 4.548 MB / 1.449 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/2.411, allocations: 15.03 kB / 1.449 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/2.411, allocations: 22.38 kB / 1.449 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003258/2.415, allocations: 1.576 MB / 1.45 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/2.416, allocations: 353.5 kB / 1.451 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/2.436, allocations: 17.07 MB / 1.467 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/2.439, allocations: 118.9 kB / 1.468 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/2.439, allocations: 94.84 kB / 1.468 GB, free: 117.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (174): * Single equations (assignments): 170 * 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 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00441/2.443, allocations: 1.891 MB / 1.469 GB, free: 117 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/2.444, allocations: 223.8 kB / 1.47 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006443/2.45, allocations: 4.08 MB / 1.474 GB, free: 116 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/2.45, allocations: 22.17 kB / 1.474 GB, free: 116 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/2.45, allocations: 21.69 kB / 1.474 GB, free: 116 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/2.45, allocations: 10.22 kB / 1.474 GB, free: 116 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/2.466, allocations: 9.4 MB / 1.483 GB, free: 112 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/2.466, allocations: 3.25 kB / 1.483 GB, free: 112 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007413/2.466, allocations: 180.9 kB / 1.483 GB, free: 112 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/2.469, allocations: 1.356 MB / 1.484 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/2.47, allocations: 38.81 kB / 1.484 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02496/2.495, allocations: 15.94 MB / 1.5 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/2.495, allocations: 6.906 kB / 1.5 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/2.505, allocations: 4.051 MB / 1.504 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/2.507, allocations: 0.5226 MB / 1.504 GB, free: 99.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/2.508, allocations: 39.66 kB / 1.504 GB, free: 99.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/2.509, allocations: 87.89 kB / 1.505 GB, free: 99.86 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000769/2.51, allocations: 166.6 kB / 1.505 GB, free: 99.83 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/2.51, allocations: 47.97 kB / 1.505 GB, free: 99.82 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002449/2.513, allocations: 0.9895 MB / 1.506 GB, free: 99.41 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.51e-07/2.513, allocations: 0 / 1.506 GB, free: 99.41 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006152/2.519, allocations: 1.029 MB / 1.507 GB, free: 99.33 MB / 0.9323 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 (85): * Single equations (assignments): 81 * 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,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004471/2.519, allocations: 160.9 kB / 1.507 GB, free: 99.21 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01022/2.53, allocations: 4.263 MB / 1.511 GB, free: 97.36 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/2.53, allocations: 5.062 kB / 1.511 GB, free: 97.35 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006607/2.536, allocations: 2.667 MB / 1.514 GB, free: 96.06 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/2.542, allocations: 0.696 MB / 1.514 GB, free: 95.88 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/2.564, allocations: 10.5 MB / 1.525 GB, free: 90.18 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005689/2.569, allocations: 3.575 MB / 1.528 GB, free: 88.82 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002168/2.572, allocations: 463.6 kB / 1.529 GB, free: 88.77 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/2.572, allocations: 123.4 kB / 1.529 GB, free: 88.75 MB / 0.9323 GB Notification: Performance of SimCode: time 1.373e-06/2.572, allocations: 0 / 1.529 GB, free: 88.75 MB / 0.9323 GB Notification: Performance of Templates: time 0.08299/2.655, allocations: 41.51 MB / 1.569 GB, free: 86.98 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)