Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009325/0.0009325, allocations: 178.7 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007347/0.0007348, allocations: 92.28 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 9 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1982, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01094/0.2092, allocations: 11.44 MB / 0.9079 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007673/0.2169, allocations: 5.346 MB / 0.9131 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.2182, allocations: 31.88 kB / 0.9132 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.2208, allocations: 0.9612 MB / 0.9141 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.2226, allocations: 0.5873 MB / 0.9147 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.2246, allocations: 0.8447 MB / 0.9155 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002827/0.2274, allocations: 3.593 MB / 0.919 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004231/0.2317, allocations: 3.773 MB / 0.9227 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.2329, allocations: 0.7394 MB / 0.9234 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.2345, allocations: 1.02 MB / 0.9244 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003958/0.2349, allocations: 92 kB / 0.9245 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.2361, allocations: 0.4914 MB / 0.925 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007872/0.2369, allocations: 0.7287 MB / 0.9257 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.2381, allocations: 0.7852 MB / 0.9265 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.2406, allocations: 3.027 MB / 0.9294 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2406, allocations: 0 / 0.9294 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2406, allocations: 0 / 0.9294 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001088/0.2407, allocations: 0 / 0.9294 GB, free: 34.57 MB / 0.6042 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.003361/0.2441, allocations: 1.62 MB / 0.931 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2441, allocations: 12.03 kB / 0.931 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.2465, allocations: 478.5 kB / 0.9315 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.2483, allocations: 1.155 MB / 0.9326 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.2483, allocations: 115.5 kB / 0.9327 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.2486, allocations: 156.1 kB / 0.9329 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/0.2521, allocations: 2.751 MB / 0.9355 GB, free: 28.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.2521, allocations: 7.938 kB / 0.9356 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.2523, allocations: 60 kB / 0.9356 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002823/0.2525, allocations: 174.9 kB / 0.9358 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.2554, allocations: 2.295 MB / 0.938 GB, free: 25.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009105/0.2646, allocations: 10.54 MB / 0.9483 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007961/0.2654, allocations: 0.5773 MB / 0.9489 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.2659, allocations: 384.6 kB / 0.9492 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-05/0.266, allocations: 93.08 kB / 0.9493 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.266, allocations: 42.5 kB / 0.9494 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.206e-06/0.266, allocations: 0 / 0.9494 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.01821/0.2843, allocations: 6.278 MB / 0.9555 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.2844, allocations: 81.55 kB / 0.9556 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.2857, allocations: 0.9062 MB / 0.9565 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.2858, allocations: 33.7 kB / 0.9565 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.2862, allocations: 0.7538 MB / 0.9572 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.2864, allocations: 189.4 kB / 0.9574 GB, free: 4.695 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.2866, allocations: 73.69 kB / 0.9575 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2867, allocations: 386.8 kB / 0.9579 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000894/0.2876, allocations: 0.646 MB / 0.9585 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.2887, allocations: 1.015 MB / 0.9595 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.2905, allocations: 1.666 MB / 0.9611 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.2905, allocations: 4 kB / 0.9611 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009072/0.2996, allocations: 3.225 MB / 0.9643 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004142/0.3001, allocations: 431.2 kB / 0.9647 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.278e-05/0.3001, allocations: 12 kB / 0.9647 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007994/0.3081, allocations: 1.856 MB / 0.9665 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009056/0.3091, allocations: 219.7 kB / 0.9667 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.3236, allocations: 10.24 MB / 0.9767 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.3251, allocations: 171.6 kB / 0.9769 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.3253, allocations: 47.98 kB / 0.9769 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.3253, allocations: 4 kB / 0.9769 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007247/0.3325, allocations: 2.618 MB / 0.9795 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/0.3326, allocations: 12 kB / 0.9795 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005157/0.3378, allocations: 1.211 MB / 0.9807 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.3388, allocations: 247.6 kB / 0.9809 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007816/0.3467, allocations: 5.551 MB / 0.9863 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.348, allocations: 143.9 kB / 0.9865 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.3482, allocations: 47.98 kB / 0.9865 GB, free: 5.535 MB / 0.6355 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001536/0.3498, allocations: 0.8354 MB / 0.9873 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.3501, allocations: 86.98 kB / 0.9874 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008162/0.3582, allocations: 2.688 MB / 0.99 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.3583, allocations: 4 kB / 0.99 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.3583, allocations: 8 kB / 0.99 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.3583, allocations: 3.984 kB / 0.99 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.3698, allocations: 4.632 MB / 0.9946 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.3699, allocations: 4 kB / 0.9946 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.3704, allocations: 100.1 kB / 0.9947 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007403/0.3778, allocations: 1.708 MB / 0.9963 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.378, allocations: 12 kB / 0.9963 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/0.3906, allocations: 9.773 MB / 1.006 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.3906, allocations: 4 kB / 1.006 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007888/0.3985, allocations: 2.648 MB / 1.008 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007103/0.3993, allocations: 264.1 kB / 1.009 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.3996, allocations: 23.98 kB / 1.009 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009422/0.4005, allocations: 135.7 kB / 1.009 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.4009, allocations: 47.88 kB / 1.009 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/0.4009, allocations: 16 kB / 1.009 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001116/0.4021, allocations: 0.6434 MB / 1.01 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4021, allocations: 0 / 1.01 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002453/0.4045, allocations: 0.582 MB / 1.01 GB, free: 12.55 MB / 0.6667 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003034/0.4048, allocations: 127.2 kB / 1.01 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005727/0.4106, allocations: 3.247 MB / 1.013 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.4106, allocations: 8.188 kB / 1.013 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.4127, allocations: 1.276 MB / 1.015 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.4144, allocations: 223.7 kB / 1.015 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00631/0.4207, allocations: 3.839 MB / 1.019 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.4225, allocations: 1.63 MB / 1.02 GB, free: 1.992 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.4228, allocations: 71.36 kB / 1.02 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/0.4228, allocations: 3.938 kB / 1.02 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of Templates: time 0.3819/0.8047, allocations: 57.57 MB / 1.077 GB, free: 138.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)