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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.398/1.398, allocations: 252 MB / 267.6 MB, free: 10.91 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.001094/0.001094, allocations: 178.4 kB / 327.3 MB, free: 2.18 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.992/1.992, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.0008827/0.0008825, allocations: 86.3 kB / 0.6829 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 10.22 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2629, allocations: 106.3 MB / 0.9008 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01067/0.2737, allocations: 10.77 MB / 0.9114 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007476/0.2812, allocations: 5.224 MB / 0.9165 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009352/0.2821, allocations: 31.88 kB / 0.9165 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008559/0.283, allocations: 306 kB / 0.9168 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.2842, allocations: 0.5247 MB / 0.9173 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.2856, allocations: 494.8 kB / 0.9178 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002211/0.2878, allocations: 2.911 MB / 0.9206 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00438/0.2922, allocations: 3.868 MB / 0.9244 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.2936, allocations: 0.7707 MB / 0.9251 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.2949, allocations: 1.086 MB / 0.9262 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.2951, allocations: 104 kB / 0.9263 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009362/0.2961, allocations: 319.6 kB / 0.9266 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005648/0.2966, allocations: 0.7327 MB / 0.9273 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003347/0.297, allocations: 372.8 kB / 0.9277 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.2992, allocations: 3.265 MB / 0.9309 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2992, allocations: 0 / 0.9309 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2992, allocations: 0 / 0.9309 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.902e-05/0.2993, allocations: 0 / 0.9309 GB, free: 33.27 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.002968/0.3023, allocations: 1.765 MB / 0.9326 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3023, allocations: 12.03 kB / 0.9326 GB, free: 31.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/0.3051, allocations: 0.7471 MB / 0.9333 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.307, allocations: 1.231 MB / 0.9345 GB, free: 29.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.231e-05/0.3071, allocations: 119.2 kB / 0.9347 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.3074, allocations: 160 kB / 0.9348 GB, free: 29.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004137/0.3115, allocations: 2.94 MB / 0.9377 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.3116, allocations: 11.83 kB / 0.9377 GB, free: 26.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.3118, allocations: 75.92 kB / 0.9378 GB, free: 26.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003649/0.3121, allocations: 199 kB / 0.9379 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.3155, allocations: 2.503 MB / 0.9404 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.3258, allocations: 10.9 MB / 0.951 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3269, allocations: 0.9197 MB / 0.9519 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005867/0.3275, allocations: 0.5032 MB / 0.9524 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.3276, allocations: 89.47 kB / 0.9525 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3276, allocations: 38.94 kB / 0.9525 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 3.246e-06/0.3276, allocations: 4 kB / 0.9526 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.02567/0.3533, allocations: 8.977 MB / 0.9613 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.3534, allocations: 85.67 kB / 0.9614 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.3548, allocations: 0.9376 MB / 0.9623 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.355, allocations: 37.7 kB / 0.9624 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000602/0.3556, allocations: 0.7736 MB / 0.9631 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.3559, allocations: 248.5 kB / 0.9633 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.3559, allocations: 20 kB / 0.9634 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.3562, allocations: 398.8 kB / 0.9637 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.3574, allocations: 0.7989 MB / 0.9645 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.359, allocations: 1.156 MB / 0.9657 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.3606, allocations: 0.9985 MB / 0.9666 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.3606, allocations: 4 kB / 0.9666 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01007/0.3707, allocations: 3.787 MB / 0.9703 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000478/0.3712, allocations: 415.8 kB / 0.9707 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.801e-05/0.3713, allocations: 12 kB / 0.9707 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00879/0.3801, allocations: 2.156 MB / 0.9728 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.3812, allocations: 227.6 kB / 0.9731 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/0.3979, allocations: 10.26 MB / 0.9831 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.3995, allocations: 199.5 kB / 0.9833 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.3998, allocations: 44 kB / 0.9833 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3998, allocations: 8 kB / 0.9833 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008114/0.4079, allocations: 3.072 MB / 0.9863 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.182e-05/0.408, allocations: 12 kB / 0.9863 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005478/0.4135, allocations: 1.359 MB / 0.9877 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4147, allocations: 291.5 kB / 0.9879 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.4255, allocations: 6.147 MB / 0.9939 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.427, allocations: 175.6 kB / 0.9941 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.4272, allocations: 48 kB / 0.9942 GB, free: 14.45 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001846/0.4291, allocations: 0.8947 MB / 0.995 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.4294, allocations: 86.97 kB / 0.9951 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009189/0.4386, allocations: 3.331 MB / 0.9984 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4386, allocations: 11.95 kB / 0.9984 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.4387, allocations: 0 / 0.9984 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.4387, allocations: 3.984 kB / 0.9984 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.4517, allocations: 5.497 MB / 1.004 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.4517, allocations: 4 kB / 1.004 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.4522, allocations: 107.8 kB / 1.004 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007777/0.46, allocations: 1.974 MB / 1.006 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.4602, allocations: 16 kB / 1.006 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.4745, allocations: 9.646 MB / 1.015 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4745, allocations: 3.938 kB / 1.015 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008886/0.4834, allocations: 3.202 MB / 1.018 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008055/0.4843, allocations: 336 kB / 1.019 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/0.4846, allocations: 12 kB / 1.019 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.4857, allocations: 147.8 kB / 1.019 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/0.4861, allocations: 68.41 kB / 1.019 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.4861, allocations: 24 kB / 1.019 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001303/0.4874, allocations: 0.6707 MB / 1.02 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4875, allocations: 0 / 1.02 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00297/0.4904, allocations: 0.6758 MB / 1.02 GB, free: 3.266 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): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003282/0.4908, allocations: 139.1 kB / 1.02 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008264/0.4991, allocations: 3.905 MB / 1.024 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.4991, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.5015, allocations: 1.309 MB / 1.025 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.5034, allocations: 253.6 kB / 1.026 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/0.5116, allocations: 4.284 MB / 1.03 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/0.5138, allocations: 1.734 MB / 1.032 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.5141, allocations: 63.42 kB / 1.032 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of SimCode: time 1.603e-06/0.5142, allocations: 4 kB / 1.032 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of Templates: time 0.4716/0.9858, allocations: 43.02 MB / 1.074 GB, free: 136 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)