Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.369/4.369, allocations: 460.5 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.863e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2491, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9537/1.203, allocations: 186 MB / 0.8536 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004114/1.203, allocations: 93.62 kB / 0.8537 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2704/1.474, allocations: 66.39 MB / 0.9185 GB, free: 2.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.255e-06/1.474, allocations: 0 / 0.9185 GB, free: 2.547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001545/1.474, allocations: 43.98 kB / 0.9186 GB, free: 2.504 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.006809/1.481, allocations: 1.678 MB / 0.9202 GB, free: 0.875 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/1.481, allocations: 12.03 kB / 0.9202 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001188/1.482, allocations: 260.7 kB / 0.9205 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/1.488, allocations: 0.6675 MB / 0.9211 GB, free: 36 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/1.492, allocations: 1.238 MB / 0.9223 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/1.492, allocations: 120.1 kB / 0.9224 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009541/1.493, allocations: 160 kB / 0.9226 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007763/1.501, allocations: 2.579 MB / 0.9251 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.085e-05/1.501, allocations: 15.92 kB / 0.9251 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003159/1.502, allocations: 67.98 kB / 0.9252 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/1.502, allocations: 87.22 kB / 0.9253 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006755/1.509, allocations: 2.13 MB / 0.9274 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/1.531, allocations: 10.89 MB / 0.938 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/1.533, allocations: 0.7337 MB / 0.9387 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/1.534, allocations: 0.5168 MB / 0.9392 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/1.534, allocations: 93.47 kB / 0.9393 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/1.534, allocations: 42.94 kB / 0.9393 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=46): time 3.326e-06/1.534, allocations: 0 / 0.9393 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72): time 0.03916/1.573, allocations: 7.159 MB / 0.9463 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/1.573, allocations: 89.89 kB / 0.9464 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/1.575, allocations: 0.8471 MB / 0.9472 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/1.575, allocations: 41.7 kB / 0.9473 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007349/1.576, allocations: 0.7698 MB / 0.948 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/1.577, allocations: 260.3 kB / 0.9483 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/1.577, allocations: 20 kB / 0.9483 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.00024/1.577, allocations: 390.8 kB / 0.9487 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/1.579, allocations: 0.7639 MB / 0.9494 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/1.581, allocations: 1.118 MB / 0.9505 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/1.583, allocations: 0.9622 MB / 0.9515 GB, free: 396 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.583, allocations: 4 kB / 0.9515 GB, free: 392 kB / 0.7292 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01327/1.597, allocations: 3.369 MB / 0.9547 GB, free: 13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001816/1.598, allocations: 4.275 MB / 0.9589 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.511e-05/1.599, allocations: 11.94 kB / 0.9589 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01136/1.61, allocations: 1.756 MB / 0.9606 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.612, allocations: 223.6 kB / 0.9609 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01814/1.63, allocations: 7.277 MB / 0.968 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.632, allocations: 187.7 kB / 0.9681 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/1.633, allocations: 47.98 kB / 0.9682 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.633, allocations: 4 kB / 0.9682 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01086/1.644, allocations: 2.705 MB / 0.9708 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.717e-05/1.644, allocations: 12.06 kB / 0.9708 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006525/1.65, allocations: 1.035 MB / 0.9719 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/1.652, allocations: 291.4 kB / 0.9721 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/1.668, allocations: 6.067 MB / 0.9781 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/1.67, allocations: 159.7 kB / 0.9782 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/1.671, allocations: 47.98 kB / 0.9783 GB, free: 4.27 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.0004257/1.671, allocations: 160.7 kB / 0.9784 GB, free: 4.105 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/1.671, allocations: 86.97 kB / 0.9785 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/1.684, allocations: 3.003 MB / 0.9814 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/1.684, allocations: 4 kB / 0.9814 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/1.684, allocations: 11.92 kB / 0.9814 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1.684, allocations: 4 kB / 0.9814 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/1.704, allocations: 5.571 MB / 0.9869 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/1.704, allocations: 4 kB / 0.9869 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009327/1.705, allocations: 103.8 kB / 0.987 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/1.715, allocations: 1.637 MB / 0.9886 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/1.715, allocations: 16 kB / 0.9886 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02361/1.739, allocations: 9.448 MB / 0.9978 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.739, allocations: 4 kB / 0.9978 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/1.752, allocations: 2.961 MB / 1.001 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.753, allocations: 328 kB / 1.001 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/1.753, allocations: 24 kB / 1.001 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/1.755, allocations: 131.8 kB / 1.001 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/1.755, allocations: 68.36 kB / 1.001 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.756, allocations: 28 kB / 1.001 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001939/1.758, allocations: 0.6631 MB / 1.002 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.943e-06/1.758, allocations: 4 kB / 1.002 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007409/1.765, allocations: 0.6991 MB / 1.003 GB, free: 10.79 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.01556/1.781, allocations: 4.153 MB / 1.007 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.793, allocations: 3.549 MB / 1.01 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.793, allocations: 2.25 kB / 1.01 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004582/1.798, allocations: 1.361 MB / 1.011 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/1.8, allocations: 233.8 kB / 1.012 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.81, allocations: 3.383 MB / 1.015 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002665/1.813, allocations: 1.755 MB / 1.017 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003195/1.816, allocations: 0.6513 MB / 1.017 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.818, allocations: 0.5071 MB / 1.018 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of SimCode: time 1.372e-06/1.818, allocations: 3.938 kB / 1.018 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/1.93, allocations: 40.83 MB / 1.058 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/1.93, allocations: 214 kB / 1.058 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.48/5.41, allocations: 3.938 kB / 1.058 GB, free: 2.199 MB / 0.8386 GB