Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.00138/0.00138, allocations: 172.9 kB / 366.7 MB, free: 1.652 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.705/1.705, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008256/0.0008257, allocations: 87.33 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.738e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6009/0.6009, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.8075, allocations: 192.1 MB / 1.161 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.8079, allocations: 96.48 kB / 1.161 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.1881/0.996, allocations: 68.79 MB / 1.228 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.262e-06/0.996, allocations: 4 kB / 1.228 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.307e-05/0.9961, allocations: 32 kB / 1.228 GB, free: 0.6055 MB / 0.823 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.00266/0.9987, allocations: 1.561 MB / 1.23 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.9988, allocations: 8.031 kB / 1.23 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/1.001, allocations: 0.4897 MB / 1.23 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/1.003, allocations: 1.156 MB / 1.231 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/1.003, allocations: 48 kB / 1.231 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/1.004, allocations: 92 kB / 1.231 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002855/1.006, allocations: 1.771 MB / 1.233 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/1.01, allocations: 2.214 MB / 1.235 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/1.01, allocations: 0 / 1.235 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/1.01, allocations: 4 kB / 1.235 GB, free: 9.102 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.493e-05/1.01, allocations: 87 kB / 1.235 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/1.021, allocations: 10.13 MB / 1.245 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/1.022, allocations: 0.5451 MB / 1.246 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/1.022, allocations: 364.7 kB / 1.246 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/1.022, allocations: 89.09 kB / 1.246 GB, free: 13 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.022, allocations: 42.56 kB / 1.246 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 1.963e-06/1.022, allocations: 0 / 1.246 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=52): time 0.007721/1.03, allocations: 3.159 MB / 1.249 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/1.03, allocations: 89.55 kB / 1.249 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/1.031, allocations: 0.7257 MB / 1.25 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/1.031, allocations: 25.7 kB / 1.25 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/1.032, allocations: 0.7538 MB / 1.251 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/1.032, allocations: 177.4 kB / 1.251 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/1.032, allocations: 0 / 1.251 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.032, allocations: 390.8 kB / 1.252 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007107/1.033, allocations: 0.5765 MB / 1.252 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000925/1.034, allocations: 0.9337 MB / 1.253 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.035, allocations: 0.8333 MB / 1.254 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.035, allocations: 4 kB / 1.254 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005686/1.041, allocations: 2.581 MB / 1.256 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.419/1.46, allocations: 4.522 MB / 1.261 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.427e-05/1.46, allocations: 13.02 kB / 1.261 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004649/1.464, allocations: 1.09 MB / 1.262 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009953/1.465, allocations: 224.4 kB / 1.262 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007116/1.472, allocations: 6.541 MB / 1.268 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.474, allocations: 152.9 kB / 1.269 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.474, allocations: 42 kB / 1.269 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.474, allocations: 6.781 kB / 1.269 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00237/1.476, allocations: 1.268 MB / 1.27 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/1.476, allocations: 12.09 kB / 1.27 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/1.476, allocations: 20.02 kB / 1.27 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/1.477, allocations: 278.5 kB / 1.27 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.048e-05/1.477, allocations: 28.33 kB / 1.27 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/1.478, allocations: 105.5 kB / 1.27 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/1.478, allocations: 46.08 kB / 1.27 GB, free: 206.2 MB / 0.8542 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 () * 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.0002202/1.478, allocations: 142.4 kB / 1.27 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/1.479, allocations: 72.08 kB / 1.271 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005699/1.484, allocations: 2.266 MB / 1.273 GB, free: 206 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/1.484, allocations: 4.406 kB / 1.273 GB, free: 206 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/1.484, allocations: 0.7188 kB / 1.273 GB, free: 206 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/1.484, allocations: 5.672 kB / 1.273 GB, free: 206 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007893/1.492, allocations: 3.893 MB / 1.277 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.492, allocations: 1.062 kB / 1.277 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/1.493, allocations: 103.6 kB / 1.277 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004887/1.498, allocations: 1.35 MB / 1.278 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/1.498, allocations: 3.156 kB / 1.278 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00984/1.508, allocations: 9.102 MB / 1.287 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.508, allocations: 3.219 kB / 1.287 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/1.513, allocations: 2.332 MB / 1.289 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/1.514, allocations: 278.5 kB / 1.289 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.514, allocations: 6.656 kB / 1.289 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009382/1.515, allocations: 157.1 kB / 1.29 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.515, allocations: 48.81 kB / 1.29 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/1.515, allocations: 16.84 kB / 1.29 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006887/1.516, allocations: 0.5582 MB / 1.29 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.516, allocations: 0 / 1.29 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001892/1.517, allocations: 0.5595 MB / 1.291 GB, free: 200.1 MB / 0.8542 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 () * 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.0002887/1.518, allocations: 166.5 kB / 1.291 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003554/1.521, allocations: 2.345 MB / 1.293 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.521, allocations: 1.969 kB / 1.293 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/1.523, allocations: 1.194 MB / 1.294 GB, free: 199.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/1.524, allocations: 188.7 kB / 1.295 GB, free: 199.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/1.528, allocations: 2.367 MB / 1.297 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/1.53, allocations: 1.641 MB / 1.298 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001717/1.531, allocations: 0.5869 MB / 1.299 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/1.532, allocations: 50.77 kB / 1.299 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of SimCode: time 8.31e-07/1.532, allocations: 0 / 1.299 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.0294/1.561, allocations: 19.18 MB / 1.318 GB, free: 197.4 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)