Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.029/4.029, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.526e-05/5.533e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6865, allocations: 92.69 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3581/1.045, allocations: 153.7 MB / 0.7397 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004767/1.045, allocations: 95.94 kB / 0.7398 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.303/2.349, allocations: 199.4 MB / 0.9346 GB, free: 26.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.855e-06/2.349, allocations: 0 / 0.9346 GB, free: 26.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004569/2.349, allocations: 144 kB / 0.9347 GB, free: 26.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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01941/2.369, allocations: 4.855 MB / 0.9395 GB, free: 21.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.691e-05/2.369, allocations: 8.031 kB / 0.9395 GB, free: 21.48 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003468/2.372, allocations: 0.8292 MB / 0.9403 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/2.383, allocations: 1.105 MB / 0.9414 GB, free: 19.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/2.396, allocations: 3.685 MB / 0.945 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005698/2.396, allocations: 431.6 kB / 0.9454 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002818/2.399, allocations: 0.5507 MB / 0.9459 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02842/2.428, allocations: 8.653 MB / 0.9544 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002957/2.428, allocations: 23.81 kB / 0.9544 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002321/2.43, allocations: 256 kB / 0.9546 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004367/2.431, allocations: 295 kB / 0.9549 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/2.451, allocations: 6.222 MB / 0.961 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07313/2.524, allocations: 28.63 MB / 0.9889 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/2.537, allocations: 3.044 MB / 0.9919 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008104/2.545, allocations: 2.126 MB / 0.994 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003355/2.546, allocations: 29.92 kB / 0.994 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.307e-05/2.546, allocations: 60.56 kB / 0.9941 GB, free: 12.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 1.046e-05/2.546, allocations: 4 kB / 0.9941 GB, free: 12.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.02764/2.574, allocations: 6.577 MB / 1.001 GB, free: 5.777 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/2.574, allocations: 77.36 kB / 1.001 GB, free: 5.691 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005489/2.579, allocations: 1.649 MB / 1.002 GB, free: 4.023 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000643/2.58, allocations: 65.7 kB / 1.002 GB, free: 3.953 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003248/2.583, allocations: 2.369 MB / 1.005 GB, free: 1.551 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001645/2.585, allocations: 0.7163 MB / 1.005 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/2.585, allocations: 48 kB / 1.005 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003656/2.586, allocations: 419.1 kB / 1.006 GB, free: 372 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004991/2.591, allocations: 1.294 MB / 1.007 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006377/2.597, allocations: 2.058 MB / 1.009 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006104/2.603, allocations: 1.676 MB / 1.011 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-05/2.603, allocations: 8 kB / 1.011 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.02052/2.624, allocations: 4.851 MB / 1.015 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/2.624, allocations: 16 kB / 1.015 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.154e-05/2.624, allocations: 28.89 kB / 1.015 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008524/2.633, allocations: 1.454 MB / 1.017 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/2.637, allocations: 439.2 kB / 1.017 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05056/2.688, allocations: 17.06 MB / 1.034 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004949/2.693, allocations: 147.9 kB / 1.034 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008799/2.694, allocations: 112.1 kB / 1.034 GB, free: 2.312 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 {(6,72.2%) 32,(7,59.2%) 23,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001077/2.695, allocations: 256.2 kB / 1.034 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/2.696, allocations: 288.6 kB / 1.035 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/2.711, allocations: 4.404 MB / 1.039 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/2.712, allocations: 24 kB / 1.039 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-05/2.712, allocations: 16 kB / 1.039 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.312e-05/2.712, allocations: 7.969 kB / 1.039 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02823/2.74, allocations: 9.598 MB / 1.048 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/2.74, allocations: 4.062 kB / 1.048 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/2.742, allocations: 239.7 kB / 1.049 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005942/2.748, allocations: 1.398 MB / 1.05 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004458/2.749, allocations: 40 kB / 1.05 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5944/3.343, allocations: 16.96 MB / 1.067 GB, free: 153.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/3.343, allocations: 10.78 kB / 1.067 GB, free: 153.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/3.354, allocations: 4.821 MB / 1.071 GB, free: 153 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/3.357, allocations: 0.6325 MB / 1.072 GB, free: 152.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008326/3.357, allocations: 38.69 kB / 1.072 GB, free: 152.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/3.36, allocations: 117.8 kB / 1.072 GB, free: 152.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007004/3.361, allocations: 183.2 kB / 1.072 GB, free: 152.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/3.361, allocations: 63.44 kB / 1.072 GB, free: 152.9 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002527/3.363, allocations: 1.237 MB / 1.074 GB, free: 152.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.21e-07/3.363, allocations: 0 / 1.074 GB, free: 152.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005369/3.369, allocations: 1.132 MB / 1.075 GB, free: 152.7 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01189/3.381, allocations: 6.554 MB / 1.081 GB, free: 150.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01132/3.392, allocations: 4.464 MB / 1.085 GB, free: 149.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/3.392, allocations: 3.906 kB / 1.085 GB, free: 149.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.007478/3.4, allocations: 2.783 MB / 1.088 GB, free: 149.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006172/3.406, allocations: 0.7663 MB / 1.089 GB, free: 149.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/3.432, allocations: 9.042 MB / 1.098 GB, free: 147.4 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007277/3.439, allocations: 3.787 MB / 1.101 GB, free: 146.6 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003284/3.442, allocations: 0.5439 MB / 1.102 GB, free: 146.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003698/3.446, allocations: 1.943 MB / 1.104 GB, free: 146.5 MB / 0.7448 GB Notification: Performance of SimCode: time 1.232e-06/3.446, allocations: 4.562 kB / 1.104 GB, free: 146.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1942/3.64, allocations: 81.3 MB / 1.183 GB, free: 122.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/3.641, allocations: 198.9 kB / 1.183 GB, free: 122.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.428/9.069, allocations: 4 kB / 1.183 GB, free: 122.1 MB / 0.7448 GB