Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.546/2.546, allocations: 287.5 MB / 303.2 MB, free: 8.18 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.001302/0.001302, allocations: 174.9 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009258/0.0009256, allocations: 100.9 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005057, allocations: 12.19 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2149, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9873/1.202, allocations: 191.6 MB / 1.166 GB, free: 8.16 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/1.203, allocations: 99.56 kB / 1.167 GB, free: 8.105 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2995/1.502, allocations: 64.09 MB / 1.229 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.765e-06/1.502, allocations: 7.938 kB / 1.229 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000163/1.502, allocations: 39.98 kB / 1.229 GB, free: 1.812 MB / 0.7448 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.006658/1.509, allocations: 1.636 MB / 1.231 GB, free: 228 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.509, allocations: 8.031 kB / 1.231 GB, free: 220 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/1.514, allocations: 0.4978 MB / 1.231 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006328/1.52, allocations: 1.177 MB / 1.232 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/1.52, allocations: 108.8 kB / 1.233 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006701/1.521, allocations: 151 kB / 1.233 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007506/1.529, allocations: 2.492 MB / 1.235 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/1.529, allocations: 11.91 kB / 1.235 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/1.529, allocations: 61.86 kB / 1.235 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001733/1.529, allocations: 93.38 kB / 1.235 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006678/1.536, allocations: 2.037 MB / 1.237 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02315/1.559, allocations: 10.51 MB / 1.248 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/1.561, allocations: 0.5849 MB / 1.248 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/1.562, allocations: 396.6 kB / 1.248 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/1.562, allocations: 85.11 kB / 1.249 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/1.562, allocations: 42.56 kB / 1.249 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/1.562, allocations: 0 / 1.249 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=52): time 0.03846/1.601, allocations: 6.248 MB / 1.255 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/1.601, allocations: 81.55 kB / 1.255 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/1.603, allocations: 0.8906 MB / 1.256 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/1.603, allocations: 37.7 kB / 1.256 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008036/1.604, allocations: 0.7655 MB / 1.256 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/1.604, allocations: 185.4 kB / 1.257 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/1.604, allocations: 20 kB / 1.257 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002409/1.605, allocations: 382.8 kB / 1.257 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/1.607, allocations: 0.6421 MB / 1.258 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/1.609, allocations: 0.9995 MB / 1.259 GB, free: 4.078 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/1.613, allocations: 1.658 MB / 1.26 GB, free: 2.258 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.613, allocations: 7.938 kB / 1.26 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01677/1.63, allocations: 3.209 MB / 1.263 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003988/1.63, allocations: 435.3 kB / 1.264 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/1.63, allocations: 12 kB / 1.264 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/1.645, allocations: 1.852 MB / 1.266 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/1.647, allocations: 219.7 kB / 1.266 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02416/1.671, allocations: 10.17 MB / 1.276 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/1.673, allocations: 183.5 kB / 1.276 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/1.673, allocations: 44 kB / 1.276 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.674, allocations: 6.031 kB / 1.276 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0131/1.687, allocations: 2.602 MB / 1.278 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.024e-05/1.687, allocations: 12 kB / 1.278 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009832/1.697, allocations: 1.199 MB / 1.28 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/1.698, allocations: 255.6 kB / 1.28 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/1.714, allocations: 5.746 MB / 1.286 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/1.716, allocations: 147.7 kB / 1.286 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/1.716, allocations: 40 kB / 1.286 GB, free: 7.121 MB / 0.8073 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.001997/1.718, allocations: 0.844 MB / 1.287 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/1.718, allocations: 79.09 kB / 1.287 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/1.733, allocations: 2.672 MB / 1.289 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/1.733, allocations: 8 kB / 1.289 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.733, allocations: 0 / 1.289 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/1.733, allocations: 0 / 1.289 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/1.753, allocations: 4.616 MB / 1.294 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/1.753, allocations: 4 kB / 1.294 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008001/1.754, allocations: 99.86 kB / 1.294 GB, free: 14.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01308/1.767, allocations: 1.708 MB / 1.295 GB, free: 12.93 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/1.767, allocations: 12 kB / 1.296 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02517/1.792, allocations: 9.711 MB / 1.305 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/1.793, allocations: 3.984 kB / 1.305 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02154/1.814, allocations: 2.636 MB / 1.308 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.816, allocations: 284 kB / 1.308 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/1.816, allocations: 11.98 kB / 1.308 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/1.819, allocations: 131.8 kB / 1.308 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/1.819, allocations: 59.75 kB / 1.308 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/1.819, allocations: 16 kB / 1.308 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002174/1.822, allocations: 0.6356 MB / 1.309 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.103e-06/1.822, allocations: 0 / 1.309 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004874/1.827, allocations: 0.625 MB / 1.309 GB, free: 14.2 MB / 0.8386 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.0006304/1.827, allocations: 172.6 kB / 1.309 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01708/1.844, allocations: 3.379 MB / 1.313 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.844, allocations: 4.062 kB / 1.313 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.005726/1.85, allocations: 1.272 MB / 1.314 GB, free: 9.238 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/1.854, allocations: 223.9 kB / 1.314 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.868, allocations: 3.533 MB / 1.318 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003029/1.871, allocations: 1.626 MB / 1.319 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002449/1.874, allocations: 494.2 kB / 1.32 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/1.874, allocations: 51.44 kB / 1.32 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of SimCode: time 1.483e-06/1.874, allocations: 4 kB / 1.32 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of Templates: time 0.0626/1.936, allocations: 23.69 MB / 1.343 GB, free: 11.63 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)