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.34/1.34, allocations: 252 MB / 268 MB, free: 10.86 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.0009801/0.0009804, allocations: 175.3 kB / 327.6 MB, free: 2.098 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.45/1.45, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0008161/0.000816, allocations: 92.06 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 11.97 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2014, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01737/0.2188, allocations: 11.29 MB / 0.9125 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.2302, allocations: 5.272 MB / 0.9176 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.2315, allocations: 31.88 kB / 0.9177 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.2329, allocations: 302.1 kB / 0.918 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.235, allocations: 0.595 MB / 0.9185 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.2373, allocations: 0.6238 MB / 0.9191 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00418/0.2415, allocations: 3.59 MB / 0.9227 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0079/0.2494, allocations: 4.104 MB / 0.9267 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.2514, allocations: 0.7355 MB / 0.9274 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.2533, allocations: 1.028 MB / 0.9284 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.2536, allocations: 95.98 kB / 0.9285 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.2553, allocations: 491.2 kB / 0.9289 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009027/0.2562, allocations: 0.7326 MB / 0.9297 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.2573, allocations: 0.8064 MB / 0.9304 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.2605, allocations: 3.028 MB / 0.9334 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2605, allocations: 0 / 0.9334 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2605, allocations: 0 / 0.9334 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.86e-05/0.2606, allocations: 0 / 0.9334 GB, free: 30.59 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.004306/0.2649, allocations: 1.628 MB / 0.935 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.265, allocations: 8.031 kB / 0.935 GB, free: 28.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.2693, allocations: 482.5 kB / 0.9355 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/0.2726, allocations: 1.155 MB / 0.9366 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.2728, allocations: 111.4 kB / 0.9367 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005216/0.2733, allocations: 156.1 kB / 0.9368 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006634/0.28, allocations: 2.743 MB / 0.9395 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-05/0.2801, allocations: 3.938 kB / 0.9395 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.2804, allocations: 67.98 kB / 0.9396 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005196/0.2809, allocations: 174.9 kB / 0.9398 GB, free: 23.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005216/0.2862, allocations: 2.303 MB / 0.942 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.3004, allocations: 10.53 MB / 0.9523 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.3019, allocations: 0.5803 MB / 0.9529 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008454/0.3028, allocations: 384.6 kB / 0.9532 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.303, allocations: 89.09 kB / 0.9533 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.303, allocations: 42.5 kB / 0.9534 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 5.179e-06/0.3031, allocations: 0 / 0.9534 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.02296/0.326, allocations: 6.278 MB / 0.9595 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.3261, allocations: 85.48 kB / 0.9596 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.3272, allocations: 0.9062 MB / 0.9604 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.616e-05/0.3273, allocations: 33.7 kB / 0.9605 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.3277, allocations: 0.7538 MB / 0.9612 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.3278, allocations: 189.4 kB / 0.9614 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.3279, allocations: 16 kB / 0.9614 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.328, allocations: 394.7 kB / 0.9618 GB, free: 308 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009798/0.329, allocations: 0.6383 MB / 0.9624 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.3303, allocations: 1.011 MB / 0.9634 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.3326, allocations: 1.67 MB / 0.965 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.3327, allocations: 4 kB / 0.965 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009282/0.342, allocations: 3.221 MB / 0.9682 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003555/0.3424, allocations: 431.4 kB / 0.9686 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.3424, allocations: 12 kB / 0.9686 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008078/0.3505, allocations: 1.864 MB / 0.9704 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/0.3515, allocations: 219.7 kB / 0.9706 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/0.3661, allocations: 10.23 MB / 0.9806 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.3675, allocations: 179.6 kB / 0.9808 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.3677, allocations: 39.98 kB / 0.9808 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.3677, allocations: 4 kB / 0.9808 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007418/0.3751, allocations: 2.622 MB / 0.9834 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/0.3752, allocations: 12.38 kB / 0.9834 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005299/0.3805, allocations: 1.211 MB / 0.9846 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3816, allocations: 247.6 kB / 0.9848 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007836/0.3894, allocations: 5.547 MB / 0.9902 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.3907, allocations: 147.9 kB / 0.9904 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.3909, allocations: 44.05 kB / 0.9904 GB, free: 1.621 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.001304/0.3922, allocations: 0.8439 MB / 0.9913 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.3924, allocations: 83 kB / 0.9913 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008237/0.4006, allocations: 2.688 MB / 0.994 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.4007, allocations: 4 kB / 0.994 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.4007, allocations: 0 / 0.994 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.4007, allocations: 3.984 kB / 0.994 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.4119, allocations: 4.635 MB / 0.9985 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.412, allocations: 4.25 kB / 0.9985 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.4124, allocations: 95.86 kB / 0.9986 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007185/0.4196, allocations: 1.712 MB / 1 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.4198, allocations: 8 kB / 1 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.4326, allocations: 9.769 MB / 1.01 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4326, allocations: 4.031 kB / 1.01 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007872/0.4405, allocations: 2.652 MB / 1.012 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006414/0.4412, allocations: 284 kB / 1.013 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.4414, allocations: 16 kB / 1.013 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009756/0.4424, allocations: 135.7 kB / 1.013 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.4427, allocations: 52.05 kB / 1.013 GB, free: 9.855 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/0.4428, allocations: 16 kB / 1.013 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001024/0.4438, allocations: 0.6395 MB / 1.014 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4438, allocations: 0 / 1.014 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002293/0.4461, allocations: 0.582 MB / 1.014 GB, free: 8.621 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.000292/0.4464, allocations: 127.2 kB / 1.014 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005576/0.452, allocations: 3.254 MB / 1.017 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.452, allocations: 0 / 1.017 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/0.4541, allocations: 1.284 MB / 1.019 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.4556, allocations: 233 kB / 1.019 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/0.4614, allocations: 3.868 MB / 1.023 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.4631, allocations: 1.634 MB / 1.024 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.4633, allocations: 63.42 kB / 1.024 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/0.4634, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of Templates: time 0.3876/0.8509, allocations: 57.57 MB / 1.08 GB, free: 131.7 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)