Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadModel(Buildings): time 4.137/4.137, allocations: 460.5 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.799e-05, allocations: 7.984 kB / 0.5681 GB, free: 10.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1896, allocations: 106.2 MB / 0.6718 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8282/1.018, allocations: 186 MB / 0.8535 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/1.018, allocations: 102.3 kB / 0.8536 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2448/1.263, allocations: 66.38 MB / 0.9184 GB, free: 2.961 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.473e-06/1.263, allocations: 0 / 0.9184 GB, free: 2.961 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001283/1.263, allocations: 39.98 kB / 0.9185 GB, free: 2.922 MB / 0.698 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.004264/1.268, allocations: 1.676 MB / 0.9201 GB, free: 1.297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.268, allocations: 8.031 kB / 0.9201 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004575/1.272, allocations: 0.6644 MB / 0.9208 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/1.276, allocations: 1.234 MB / 0.922 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.276, allocations: 120.5 kB / 0.9221 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004819/1.276, allocations: 162.9 kB / 0.9223 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006297/1.283, allocations: 2.582 MB / 0.9248 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.21e-05/1.283, allocations: 11.89 kB / 0.9248 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/1.283, allocations: 64 kB / 0.9248 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/1.283, allocations: 87.22 kB / 0.9249 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005447/1.289, allocations: 2.138 MB / 0.927 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/1.309, allocations: 10.88 MB / 0.9376 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/1.31, allocations: 0.7337 MB / 0.9384 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/1.312, allocations: 0.5208 MB / 0.9389 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/1.312, allocations: 97.45 kB / 0.939 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/1.312, allocations: 38.94 kB / 0.939 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=46): time 3.817e-06/1.312, allocations: 0 / 0.939 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72): time 0.02896/1.341, allocations: 7.159 MB / 0.946 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/1.341, allocations: 85.89 kB / 0.9461 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/1.343, allocations: 0.8432 MB / 0.9469 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001789/1.343, allocations: 45.7 kB / 0.9469 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007675/1.344, allocations: 0.7698 MB / 0.9477 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/1.344, allocations: 264.3 kB / 0.9479 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/1.344, allocations: 20 kB / 0.948 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000286/1.345, allocations: 390.8 kB / 0.9483 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/1.346, allocations: 0.7639 MB / 0.9491 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/1.348, allocations: 1.122 MB / 0.9502 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/1.35, allocations: 0.9584 MB / 0.9511 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/1.35, allocations: 4 kB / 0.9511 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01018/1.36, allocations: 3.373 MB / 0.9544 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.00241/1.363, allocations: 4.271 MB / 0.9586 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/1.363, allocations: 8 kB / 0.9586 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007991/1.371, allocations: 1.756 MB / 0.9603 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.372, allocations: 223.6 kB / 0.9605 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/1.387, allocations: 7.269 MB / 0.9676 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.389, allocations: 195.5 kB / 0.9678 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/1.389, allocations: 47.98 kB / 0.9679 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.389, allocations: 4 kB / 0.9679 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007877/1.397, allocations: 2.708 MB / 0.9705 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/1.397, allocations: 11.94 kB / 0.9705 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004464/1.401, allocations: 1.036 MB / 0.9715 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/1.403, allocations: 291.7 kB / 0.9718 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/1.415, allocations: 6.073 MB / 0.9777 GB, free: 4.918 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.417, allocations: 155.7 kB / 0.9779 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/1.417, allocations: 47.98 kB / 0.9779 GB, free: 4.719 MB / 0.7605 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003808/1.418, allocations: 168.6 kB / 0.9781 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.418, allocations: 86.97 kB / 0.9782 GB, free: 4.461 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009231/1.427, allocations: 2.999 MB / 0.9811 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.427, allocations: 4 kB / 0.9811 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.427, allocations: 7.984 kB / 0.9811 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.427, allocations: 0 / 0.9811 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/1.442, allocations: 5.567 MB / 0.9865 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/1.442, allocations: 4 kB / 0.9865 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/1.443, allocations: 112 kB / 0.9867 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007403/1.45, allocations: 1.64 MB / 0.9883 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/1.45, allocations: 16 kB / 0.9883 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/1.47, allocations: 9.456 MB / 0.9975 GB, free: 244 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/1.47, allocations: 4 kB / 0.9975 GB, free: 240 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/1.486, allocations: 2.954 MB / 1 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.487, allocations: 328 kB / 1.001 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003799/1.488, allocations: 20 kB / 1.001 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/1.49, allocations: 135.8 kB / 1.001 GB, free: 12.69 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004886/1.49, allocations: 68.36 kB / 1.001 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.49, allocations: 24 kB / 1.001 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002181/1.493, allocations: 0.6631 MB / 1.002 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.341e-06/1.493, allocations: 0 / 1.002 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00557/1.498, allocations: 0.6991 MB / 1.002 GB, free: 11.24 MB / 0.7917 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 (44): * Single equations (assignments): 42 * 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 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006329/1.499, allocations: 183.1 kB / 1.002 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01619/1.515, allocations: 3.555 MB / 1.006 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.515, allocations: 0 / 1.006 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00618/1.521, allocations: 1.346 MB / 1.007 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.524, allocations: 236 kB / 1.007 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.535, allocations: 2.849 MB / 1.01 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003693/1.539, allocations: 1.751 MB / 1.012 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004543/1.543, allocations: 0.6629 MB / 1.013 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/1.544, allocations: 55.42 kB / 1.013 GB, free: 496 kB / 0.7917 GB Notification: Performance of SimCode: time 2.196e-06/1.544, allocations: 0 / 1.013 GB, free: 496 kB / 0.7917 GB Notification: Performance of Templates: time 0.1426/1.686, allocations: 28.3 MB / 1.04 GB, free: 4.348 MB / 0.823 GB