Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.535/4.535, allocations: 404.2 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.537e-05, allocations: 8 kB / 0.4945 GB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7163/0.7164, allocations: 92.69 MB / 0.5851 GB, free: 2.281 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3452/1.062, allocations: 173.1 MB / 0.7541 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004157/1.062, allocations: 95.94 kB / 0.7542 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8783/1.94, allocations: 62.84 MB / 0.8156 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.435e-06/1.941, allocations: 4 kB / 0.8156 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001693/1.941, allocations: 32 kB / 0.8156 GB, free: 153.2 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.006084/1.947, allocations: 1.554 MB / 0.8171 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.947, allocations: 12.02 kB / 0.8171 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00527/1.952, allocations: 497.3 kB / 0.8176 GB, free: 151.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/1.956, allocations: 1.145 MB / 0.8187 GB, free: 150 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/1.956, allocations: 51.94 kB / 0.8188 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006052/1.957, allocations: 95.91 kB / 0.8189 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005533/1.963, allocations: 1.767 MB / 0.8206 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006869/1.97, allocations: 2.218 MB / 0.8228 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-05/1.97, allocations: 4 kB / 0.8228 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/1.97, allocations: 7.953 kB / 0.8228 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/1.97, allocations: 83.06 kB / 0.8229 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0184/1.989, allocations: 7.613 MB / 0.8303 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/1.99, allocations: 0.5453 MB / 0.8308 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008563/1.991, allocations: 360.7 kB / 0.8312 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/1.991, allocations: 93.02 kB / 0.8313 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/1.991, allocations: 42.55 kB / 0.8313 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.427e-06/1.991, allocations: 0 / 0.8313 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.01586/2.007, allocations: 3.148 MB / 0.8344 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/2.007, allocations: 89.5 kB / 0.8345 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/2.009, allocations: 0.7256 MB / 0.8352 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/2.009, allocations: 25.7 kB / 0.8352 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/2.01, allocations: 0.7577 MB / 0.8359 GB, free: 132 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/2.01, allocations: 177.4 kB / 0.8361 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/2.01, allocations: 7.938 kB / 0.8361 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001512/2.01, allocations: 382.8 kB / 0.8365 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/2.011, allocations: 0.5765 MB / 0.837 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/2.013, allocations: 0.9418 MB / 0.838 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/2.015, allocations: 0.8255 MB / 0.8388 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/2.015, allocations: 8 kB / 0.8388 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01217/2.028, allocations: 2.578 MB / 0.8413 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001049/2.029, allocations: 4.522 MB / 0.8457 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/2.029, allocations: 16 kB / 0.8457 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009134/2.038, allocations: 1.096 MB / 0.8468 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/2.04, allocations: 223.6 kB / 0.847 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/2.053, allocations: 6.541 MB / 0.8534 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/2.055, allocations: 151.6 kB / 0.8535 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/2.056, allocations: 47.98 kB / 0.8536 GB, free: 113 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/2.056, allocations: 4 kB / 0.8536 GB, free: 113 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003681/2.059, allocations: 1.27 MB / 0.8548 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/2.059, allocations: 12 kB / 0.8548 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/2.059, allocations: 20 kB / 0.8549 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/2.062, allocations: 279.9 kB / 0.8551 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.576e-05/2.062, allocations: 23.94 kB / 0.8552 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/2.064, allocations: 99.84 kB / 0.8552 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/2.064, allocations: 40 kB / 0.8553 GB, free: 111.3 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.0003918/2.064, allocations: 140.7 kB / 0.8554 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01094/2.075, allocations: 2.164 MB / 0.8575 GB, free: 109 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/2.076, allocations: 71.16 kB / 0.8576 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/2.087, allocations: 2.254 MB / 0.8598 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/2.087, allocations: 11.94 kB / 0.8598 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/2.087, allocations: 0 / 0.8598 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/2.087, allocations: 7.984 kB / 0.8598 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/2.102, allocations: 3.785 MB / 0.8635 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/2.102, allocations: 0 / 0.8635 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000947/2.103, allocations: 111.9 kB / 0.8636 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/2.114, allocations: 1.345 MB / 0.8649 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/2.114, allocations: 7.984 kB / 0.8649 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/2.132, allocations: 9.104 MB / 0.8738 GB, free: 91.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/2.132, allocations: 4.031 kB / 0.8738 GB, free: 91.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/2.143, allocations: 2.33 MB / 0.8761 GB, free: 89.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/2.144, allocations: 276.1 kB / 0.8764 GB, free: 88.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/2.144, allocations: 7.938 kB / 0.8764 GB, free: 88.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/2.146, allocations: 159.7 kB / 0.8765 GB, free: 88.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/2.147, allocations: 51.83 kB / 0.8766 GB, free: 88.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/2.147, allocations: 19.98 kB / 0.8766 GB, free: 88.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00113/2.148, allocations: 0.5498 MB / 0.8771 GB, free: 88.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.61e-07/2.148, allocations: 0 / 0.8771 GB, free: 88.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003404/2.152, allocations: 0.5312 MB / 0.8777 GB, free: 87.67 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.01204/2.164, allocations: 3.542 MB / 0.8811 GB, free: 84.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006498/2.17, allocations: 2.349 MB / 0.8834 GB, free: 81.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/2.17, allocations: 0.5 kB / 0.8834 GB, free: 81.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003196/2.173, allocations: 1.194 MB / 0.8846 GB, free: 80.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/2.175, allocations: 193.8 kB / 0.8848 GB, free: 80.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009849/2.185, allocations: 3.026 MB / 0.8877 GB, free: 77.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/2.187, allocations: 1.646 MB / 0.8893 GB, free: 75.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003203/2.191, allocations: 0.5761 MB / 0.8899 GB, free: 74.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/2.192, allocations: 479.3 kB / 0.8903 GB, free: 74.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.683e-06/2.192, allocations: 3.938 kB / 0.8904 GB, free: 74.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/2.326, allocations: 29.89 MB / 0.9195 GB, free: 44.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002554/2.326, allocations: 176.9 kB / 0.9197 GB, free: 44.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.695/6.021, allocations: 6.281 kB / 0.9197 GB, free: 44.46 MB / 0.6511 GB