Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadModel(Buildings): time 4.339/4.339, allocations: 431.3 MB / 445.8 MB, free: 5.363 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.132e-05, allocations: 8 kB / 0.5354 GB, free: 14.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7209, allocations: 98.71 MB / 0.6318 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01865/0.7396, allocations: 10.29 MB / 0.6419 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.7509, allocations: 4.77 MB / 0.6465 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.7521, allocations: 43.88 kB / 0.6466 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.7532, allocations: 310.2 kB / 0.6469 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.7554, allocations: 0.4984 MB / 0.6473 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.7578, allocations: 0.5651 MB / 0.6479 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.7603, allocations: 0.9826 MB / 0.6489 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007555/0.7679, allocations: 3.562 MB / 0.6523 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.7691, allocations: 0.5065 MB / 0.6528 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.7706, allocations: 0.6388 MB / 0.6535 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.7718, allocations: 283.7 kB / 0.6537 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.7721, allocations: 64 kB / 0.6538 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0008637/0.773, allocations: 0.6275 MB / 0.6544 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.7736, allocations: 144 kB / 0.6545 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005934/0.7795, allocations: 3.257 MB / 0.6577 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7796, allocations: 4 kB / 0.6577 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.547e-06/0.7796, allocations: 0 / 0.6577 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001009/0.7797, allocations: 0 / 0.6577 GB, free: 1.254 MB / 0.5261 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.006958/0.7867, allocations: 1.653 MB / 0.6593 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.7868, allocations: 12.03 kB / 0.6594 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007897/0.7947, allocations: 0.7627 MB / 0.6601 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005653/0.8004, allocations: 1.235 MB / 0.6613 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.8006, allocations: 115.2 kB / 0.6614 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009033/0.8016, allocations: 164 kB / 0.6616 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.8129, allocations: 2.936 MB / 0.6644 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.943e-05/0.813, allocations: 3.938 kB / 0.6644 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005092/0.8136, allocations: 64 kB / 0.6645 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001108/0.8147, allocations: 207 kB / 0.6647 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.8252, allocations: 2.507 MB / 0.6671 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03326/0.8585, allocations: 10.9 MB / 0.6778 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.8618, allocations: 0.9198 MB / 0.6787 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.8621, allocations: 93.47 kB / 0.6788 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.8621, allocations: 38.94 kB / 0.6788 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=46): time 4.107e-06/0.8622, allocations: 0 / 0.6788 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70): time 0.06812/0.9303, allocations: 8.324 MB / 0.6869 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.174e-05/0.9304, allocations: 85.67 kB / 0.687 GB, free: 2.027 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/0.9334, allocations: 0.8587 MB / 0.6879 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002848/0.9338, allocations: 37.7 kB / 0.6879 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.9349, allocations: 0.7697 MB / 0.6887 GB, free: 340 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005369/0.9354, allocations: 248.5 kB / 0.6889 GB, free: 88 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.9357, allocations: 20 kB / 0.6889 GB, free: 68 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003757/0.9361, allocations: 398.7 kB / 0.6893 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003617/0.9397, allocations: 0.7911 MB / 0.6901 GB, free: 14.88 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004089/0.9439, allocations: 1.164 MB / 0.6912 GB, free: 13.55 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004155/0.9481, allocations: 0.9868 MB / 0.6922 GB, free: 12.56 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.626e-05/0.9482, allocations: 4 kB / 0.6922 GB, free: 12.56 MB / 0.573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.019/0.9672, allocations: 3.452 MB / 0.6955 GB, free: 9.09 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001837/0.9691, allocations: 4.269 MB / 0.6997 GB, free: 4.484 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/0.9692, allocations: 12 kB / 0.6997 GB, free: 4.473 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.9802, allocations: 1.734 MB / 0.7014 GB, free: 2.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.982, allocations: 223.6 kB / 0.7016 GB, free: 2.512 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01646/0.9985, allocations: 6.911 MB / 0.7084 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/1.001, allocations: 191.6 kB / 0.7086 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/1.001, allocations: 44 kB / 0.7086 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.001, allocations: 11.94 kB / 0.7086 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01093/1.012, allocations: 2.799 MB / 0.7113 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.895e-05/1.012, allocations: 12 kB / 0.7114 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006355/1.018, allocations: 1.02 MB / 0.7124 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/1.021, allocations: 291.5 kB / 0.7126 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/1.036, allocations: 5.891 MB / 0.7184 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/1.038, allocations: 155.7 kB / 0.7185 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/1.038, allocations: 44 kB / 0.7186 GB, free: 0.8438 MB / 0.5886 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 (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.002018/1.04, allocations: 0.8251 MB / 0.7194 GB, free: 8 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/1.041, allocations: 91.12 kB / 0.7195 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.054, allocations: 3.031 MB / 0.7224 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/1.054, allocations: 11.98 kB / 0.7224 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.054, allocations: 7.938 kB / 0.7224 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.054, allocations: 0 / 0.7224 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/1.072, allocations: 5.209 MB / 0.7275 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.072, allocations: 7.938 kB / 0.7275 GB, free: 7.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008558/1.073, allocations: 108 kB / 0.7276 GB, free: 7.414 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01415/1.087, allocations: 1.645 MB / 0.7292 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/1.088, allocations: 20 kB / 0.7293 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02388/1.111, allocations: 9.824 MB / 0.7389 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.112, allocations: 3.938 kB / 0.7389 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.124, allocations: 3.02 MB / 0.7418 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.125, allocations: 339.9 kB / 0.7421 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/1.125, allocations: 19.98 kB / 0.7422 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.127, allocations: 135.8 kB / 0.7423 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003674/1.127, allocations: 64.41 kB / 0.7423 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-05/1.127, allocations: 20 kB / 0.7424 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001443/1.129, allocations: 0.6746 MB / 0.743 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/1.129, allocations: 0 / 0.743 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002884/1.131, allocations: 0.6523 MB / 0.7437 GB, free: 6.613 MB / 0.6198 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): 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.000331/1.132, allocations: 131.1 kB / 0.7438 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.143, allocations: 3.598 MB / 0.7473 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/1.143, allocations: 3.938 kB / 0.7473 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003895/1.147, allocations: 1.317 MB / 0.7486 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/1.149, allocations: 242 kB / 0.7488 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009946/1.159, allocations: 4.068 MB / 0.7528 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/1.161, allocations: 1.747 MB / 0.7545 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003066/1.164, allocations: 0.6552 MB / 0.7551 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/1.165, allocations: 51.44 kB / 0.7552 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of SimCode: time 1.313e-06/1.165, allocations: 0 / 0.7552 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of Templates: time 0.07257/1.237, allocations: 28.18 MB / 0.7827 GB, free: 14.64 MB / 0.6667 GB