Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.126/2.126, allocations: 251.1 MB / 266.7 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 170.6 kB / 326.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009387/0.0009384, allocations: 86.48 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007168/0.0007169, allocations: 12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2279, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9421/1.17, allocations: 185.3 MB / 1.08 GB, free: 66.89 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/1.17, allocations: 106.2 kB / 1.081 GB, free: 66.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2289/1.399, allocations: 64.09 MB / 1.143 GB, free: 48.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.399, allocations: 4 kB / 1.143 GB, free: 48.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001196/1.4, allocations: 39.14 kB / 1.143 GB, free: 48.74 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.00584/1.405, allocations: 1.658 MB / 1.145 GB, free: 47.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.405, allocations: 7.812 kB / 1.145 GB, free: 47.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004512/1.41, allocations: 0.4991 MB / 1.145 GB, free: 47.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/1.414, allocations: 1.148 MB / 1.146 GB, free: 46.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/1.414, allocations: 117.2 kB / 1.147 GB, free: 46.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000557/1.414, allocations: 148.7 kB / 1.147 GB, free: 46.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007071/1.421, allocations: 2.492 MB / 1.149 GB, free: 46.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.817e-05/1.422, allocations: 11.03 kB / 1.149 GB, free: 46.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/1.422, allocations: 64.45 kB / 1.149 GB, free: 46.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/1.422, allocations: 91.47 kB / 1.149 GB, free: 46.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005976/1.428, allocations: 2.035 MB / 1.151 GB, free: 45.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/1.446, allocations: 10.52 MB / 1.162 GB, free: 38.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.448, allocations: 0.5787 MB / 1.162 GB, free: 38.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009142/1.448, allocations: 395.4 kB / 1.162 GB, free: 38.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/1.449, allocations: 88.52 kB / 1.163 GB, free: 38.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/1.449, allocations: 38.03 kB / 1.163 GB, free: 38.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 3.136e-06/1.449, allocations: 0 / 1.163 GB, free: 38.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.03619/1.485, allocations: 6.249 MB / 1.169 GB, free: 35.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.485, allocations: 85.17 kB / 1.169 GB, free: 35.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/1.487, allocations: 0.8909 MB / 1.17 GB, free: 35.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/1.487, allocations: 32.77 kB / 1.17 GB, free: 35.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/1.487, allocations: 0.7657 MB / 1.17 GB, free: 34.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/1.488, allocations: 182 kB / 1.171 GB, free: 34.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/1.488, allocations: 18.41 kB / 1.171 GB, free: 34.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.488, allocations: 388.7 kB / 1.171 GB, free: 34.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/1.489, allocations: 0.6403 MB / 1.172 GB, free: 34.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/1.491, allocations: 1.001 MB / 1.173 GB, free: 33.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/1.493, allocations: 0.8162 MB / 1.173 GB, free: 33.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.493, allocations: 3.906 kB / 1.173 GB, free: 33.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01523/1.508, allocations: 3.194 MB / 1.177 GB, free: 32.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002527/1.508, allocations: 433.8 kB / 1.177 GB, free: 32.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/1.508, allocations: 10.5 kB / 1.177 GB, free: 32.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01409/1.523, allocations: 1.852 MB / 1.179 GB, free: 31.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.524, allocations: 227.9 kB / 1.179 GB, free: 31.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/1.545, allocations: 10.17 MB / 1.189 GB, free: 24.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/1.547, allocations: 181.7 kB / 1.189 GB, free: 24.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.547, allocations: 40.69 kB / 1.189 GB, free: 24.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/1.547, allocations: 4 kB / 1.189 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01205/1.559, allocations: 2.618 MB / 1.192 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.206e-05/1.559, allocations: 12 kB / 1.192 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009353/1.569, allocations: 1.192 MB / 1.193 GB, free: 21.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/1.571, allocations: 263 kB / 1.193 GB, free: 21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/1.584, allocations: 5.73 MB / 1.199 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.586, allocations: 151.8 kB / 1.199 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/1.586, allocations: 44 kB / 1.199 GB, free: 15.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001778/1.588, allocations: 0.8323 MB / 1.2 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/1.588, allocations: 83 kB / 1.2 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/1.602, allocations: 2.672 MB / 1.202 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/1.602, allocations: 8 kB / 1.202 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.602, allocations: 4.234 kB / 1.202 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/1.602, allocations: 4 kB / 1.202 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/1.62, allocations: 4.62 MB / 1.207 GB, free: 6.641 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.62, allocations: 4 kB / 1.207 GB, free: 6.637 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/1.621, allocations: 103.8 kB / 1.207 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01978/1.641, allocations: 1.696 MB / 1.209 GB, free: 4.824 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/1.641, allocations: 15.98 kB / 1.209 GB, free: 4.809 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03043/1.672, allocations: 9.714 MB / 1.218 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/1.672, allocations: 3.938 kB / 1.218 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02209/1.694, allocations: 2.648 MB / 1.221 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.695, allocations: 283.9 kB / 1.221 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/1.695, allocations: 12 kB / 1.221 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/1.698, allocations: 135.8 kB / 1.221 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004647/1.698, allocations: 55.81 kB / 1.221 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.699, allocations: 16 kB / 1.221 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002304/1.701, allocations: 0.6356 MB / 1.222 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.62e-07/1.701, allocations: 0 / 1.222 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005305/1.706, allocations: 0.6211 MB / 1.222 GB, free: 6.086 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006475/1.707, allocations: 175.2 kB / 1.223 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01654/1.724, allocations: 3.367 MB / 1.226 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/1.724, allocations: 0.6875 kB / 1.226 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.005483/1.729, allocations: 1.283 MB / 1.227 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/1.732, allocations: 220.6 kB / 1.227 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/1.746, allocations: 3.539 MB / 1.231 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003884/1.75, allocations: 1.622 MB / 1.232 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003888/1.754, allocations: 490.2 kB / 1.233 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/1.754, allocations: 59.42 kB / 1.233 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of SimCode: time 1.703e-06/1.755, allocations: 0 / 1.233 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.07022/1.825, allocations: 23.71 MB / 1.256 GB, free: 3.512 MB / 0.7448 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)