Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadModel(Buildings): time 3.636/3.636, allocations: 403.9 MB / 411 MB, free: 428 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.627e-05, allocations: 8 kB / 0.4942 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5173, allocations: 92.69 MB / 0.5847 GB, free: 2.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3137/0.8311, allocations: 173.1 MB / 0.7538 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004501/0.8316, allocations: 95.94 kB / 0.7538 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7067/1.538, allocations: 62.84 MB / 0.8152 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.874e-06/1.538, allocations: 0 / 0.8152 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.058e-05/1.538, allocations: 32 kB / 0.8152 GB, free: 153.4 MB / 0.6511 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.004038/1.543, allocations: 1.553 MB / 0.8168 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.543, allocations: 12.03 kB / 0.8168 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003738/1.546, allocations: 493.4 kB / 0.8172 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/1.549, allocations: 1.149 MB / 0.8184 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/1.549, allocations: 48 kB / 0.8184 GB, free: 150 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004022/1.55, allocations: 91.91 kB / 0.8185 GB, free: 150 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003749/1.553, allocations: 1.775 MB / 0.8202 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004658/1.558, allocations: 2.214 MB / 0.8224 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/1.558, allocations: 3.984 kB / 0.8224 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/1.558, allocations: 7.953 kB / 0.8224 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/1.559, allocations: 83.06 kB / 0.8225 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/1.571, allocations: 7.613 MB / 0.8299 GB, free: 138 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000984/1.572, allocations: 0.542 MB / 0.8304 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/1.572, allocations: 360.7 kB / 0.8308 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/1.573, allocations: 93 kB / 0.8309 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.573, allocations: 42.56 kB / 0.8309 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.357e-06/1.573, allocations: 0 / 0.8309 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.009598/1.582, allocations: 3.145 MB / 0.834 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/1.582, allocations: 89.5 kB / 0.8341 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/1.583, allocations: 0.7258 MB / 0.8348 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.584, allocations: 25.7 kB / 0.8348 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/1.584, allocations: 0.7614 MB / 0.8356 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/1.584, allocations: 181.4 kB / 0.8357 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/1.584, allocations: 0 / 0.8357 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.584, allocations: 382.8 kB / 0.8361 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009301/1.585, allocations: 0.5804 MB / 0.8367 GB, free: 131 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/1.587, allocations: 0.9418 MB / 0.8376 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/1.589, allocations: 0.8255 MB / 0.8384 GB, free: 129 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.589, allocations: 4 kB / 0.8384 GB, free: 129 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007302/1.596, allocations: 2.585 MB / 0.8409 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009097/1.597, allocations: 4.518 MB / 0.8453 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.597, allocations: 15.94 kB / 0.8453 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005242/1.602, allocations: 1.088 MB / 0.8464 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.604, allocations: 235.6 kB / 0.8466 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00852/1.612, allocations: 6.537 MB / 0.853 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.614, allocations: 147.7 kB / 0.8532 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/1.614, allocations: 47.98 kB / 0.8532 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/1.614, allocations: 8.062 kB / 0.8532 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002478/1.616, allocations: 1.267 MB / 0.8544 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.616, allocations: 12 kB / 0.8545 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.616, allocations: 19.98 kB / 0.8545 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.618, allocations: 283.5 kB / 0.8547 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/1.618, allocations: 23.92 kB / 0.8548 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.619, allocations: 103.9 kB / 0.8549 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-05/1.619, allocations: 44 kB / 0.8549 GB, free: 111.4 MB / 0.6511 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.0002789/1.619, allocations: 132.7 kB / 0.855 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/1.619, allocations: 79.06 kB / 0.8551 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006617/1.626, allocations: 2.27 MB / 0.8573 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/1.626, allocations: 8 kB / 0.8573 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.649e-06/1.626, allocations: 0 / 0.8573 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/1.626, allocations: 3.984 kB / 0.8573 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009324/1.635, allocations: 3.781 MB / 0.861 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.635, allocations: 64 / 0.861 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/1.636, allocations: 112.1 kB / 0.8611 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005802/1.642, allocations: 1.345 MB / 0.8625 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/1.642, allocations: 4 kB / 0.8625 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/1.654, allocations: 9.108 MB / 0.8713 GB, free: 94.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.085e-06/1.654, allocations: 7.984 kB / 0.8714 GB, free: 94.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006308/1.66, allocations: 2.334 MB / 0.8736 GB, free: 91.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006551/1.661, allocations: 268.2 kB / 0.8739 GB, free: 91.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/1.661, allocations: 4 kB / 0.8739 GB, free: 91.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.663, allocations: 155.7 kB / 0.874 GB, free: 91.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/1.663, allocations: 51.88 kB / 0.8741 GB, free: 91.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/1.663, allocations: 19.94 kB / 0.8741 GB, free: 91.06 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008388/1.664, allocations: 0.5576 MB / 0.8747 GB, free: 90.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.43e-07/1.664, allocations: 4 kB / 0.8747 GB, free: 90.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002433/1.666, allocations: 0.5195 MB / 0.8752 GB, free: 89.98 MB / 0.6511 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.0003288/1.666, allocations: 182.8 kB / 0.8753 GB, free: 89.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004235/1.671, allocations: 2.355 MB / 0.8776 GB, free: 87.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.399e-06/1.671, allocations: 1.562 kB / 0.8776 GB, free: 87.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/1.673, allocations: 1.186 MB / 0.8788 GB, free: 86.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.674, allocations: 190.5 kB / 0.879 GB, free: 86.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/1.679, allocations: 2.569 MB / 0.8815 GB, free: 83.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/1.681, allocations: 1.635 MB / 0.8831 GB, free: 81.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001966/1.683, allocations: 0.5878 MB / 0.8837 GB, free: 81.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/1.683, allocations: 47.44 kB / 0.8837 GB, free: 81.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.382e-06/1.683, allocations: 0 / 0.8837 GB, free: 81.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.03855/1.722, allocations: 19.12 MB / 0.9024 GB, free: 62.1 MB / 0.6511 GB