Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.803/4.803, allocations: 404.1 MB / 411.3 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.93e-05/3.93e-05, allocations: 7.281 kB / 0.4946 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6705/0.6705, allocations: 92.68 MB / 0.5851 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3258/0.9964, allocations: 166.5 MB / 0.7476 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004001/0.9968, allocations: 95.94 kB / 0.7477 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.751/2.748, allocations: 264.7 MB / 1.006 GB, free: 3.891 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.926e-06/2.748, allocations: 0 / 1.006 GB, free: 3.891 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0008936/2.749, allocations: 147.9 kB / 1.006 GB, free: 3.746 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02989/2.779, allocations: 4.611 MB / 1.011 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/2.779, allocations: 16.02 kB / 1.011 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02636/2.806, allocations: 1.448 MB / 1.012 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02194/2.828, allocations: 4.208 MB / 1.016 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/2.828, allocations: 164 kB / 1.017 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002754/2.831, allocations: 299.9 kB / 1.017 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02173/2.853, allocations: 5.581 MB / 1.022 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03074/2.883, allocations: 7.53 MB / 1.03 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003535/2.884, allocations: 39.67 kB / 1.03 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002291/2.886, allocations: 12 kB / 1.03 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007265/2.887, allocations: 329.9 kB / 1.03 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7327/3.62, allocations: 28.31 MB / 1.058 GB, free: 128.9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00723/3.627, allocations: 2.704 MB / 1.06 GB, free: 128.9 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006324/3.633, allocations: 2.48 MB / 1.063 GB, free: 128.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/3.634, allocations: 27.88 kB / 1.063 GB, free: 128.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/3.634, allocations: 59.5 kB / 1.063 GB, free: 128.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=265): time 7.164e-06/3.634, allocations: 3.281 kB / 1.063 GB, free: 128.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=424): time 0.1391/3.773, allocations: 27.37 MB / 1.089 GB, free: 127 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/3.773, allocations: 97.33 kB / 1.09 GB, free: 126.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003673/3.777, allocations: 1.626 MB / 1.091 GB, free: 126.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001145/3.778, allocations: 28.7 kB / 1.091 GB, free: 126.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002137/3.78, allocations: 2.358 MB / 1.093 GB, free: 125.9 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002421/3.783, allocations: 1.372 MB / 1.095 GB, free: 125.1 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006728/3.783, allocations: 3.5 kB / 1.095 GB, free: 125.1 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003805/3.784, allocations: 483.6 kB / 1.095 GB, free: 124.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007116/3.791, allocations: 2.655 MB / 1.098 GB, free: 124.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00804/3.799, allocations: 3.581 MB / 1.101 GB, free: 123.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008268/3.807, allocations: 3.244 MB / 1.105 GB, free: 123.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.926e-05/3.807, allocations: 7.594 kB / 1.105 GB, free: 123.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04958/3.857, allocations: 11.17 MB / 1.115 GB, free: 123 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/3.857, allocations: 14 kB / 1.115 GB, free: 123 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-05/3.857, allocations: 32.95 kB / 1.116 GB, free: 123 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03483/3.892, allocations: 4.889 MB / 1.12 GB, free: 122.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/3.897, allocations: 0.5107 MB / 1.121 GB, free: 122.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1213/4.018, allocations: 62.27 MB / 1.182 GB, free: 83.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/4.025, allocations: 100.8 kB / 1.182 GB, free: 83.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/4.026, allocations: 159.4 kB / 1.182 GB, free: 82.99 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001468/4.028, allocations: 190.6 kB / 1.182 GB, free: 82.86 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04821/4.076, allocations: 10.44 MB / 1.192 GB, free: 79.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002069/4.078, allocations: 366.7 kB / 1.193 GB, free: 78.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04952/4.127, allocations: 11.01 MB / 1.203 GB, free: 74.74 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.065e-05/4.128, allocations: 42.48 kB / 1.203 GB, free: 74.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001498/4.128, allocations: 56.62 kB / 1.203 GB, free: 74.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001054/4.128, allocations: 23.25 kB / 1.203 GB, free: 74.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0658/4.194, allocations: 16.55 MB / 1.22 GB, free: 64.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.106e-05/4.194, allocations: 8.062 kB / 1.22 GB, free: 64.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003404/4.197, allocations: 291.7 kB / 1.22 GB, free: 64.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0316/4.229, allocations: 4.41 MB / 1.224 GB, free: 61.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001045/4.23, allocations: 16 kB / 1.224 GB, free: 61.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1132/4.343, allocations: 60.04 MB / 1.283 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.601e-05/4.343, allocations: 15.64 kB / 1.283 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05565/4.399, allocations: 14.76 MB / 1.297 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004284/4.403, allocations: 0.9497 MB / 1.298 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/4.405, allocations: 27.33 kB / 1.298 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005006/4.41, allocations: 111.3 kB / 1.298 GB, free: 5.832 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002198/4.412, allocations: 397.3 kB / 1.299 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006868/4.413, allocations: 100 kB / 1.299 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00307/4.416, allocations: 1.194 MB / 1.3 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.81e-07/4.416, allocations: 0 / 1.3 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01064/4.427, allocations: 1.485 MB / 1.301 GB, free: 2.93 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06005/4.487, allocations: 17.14 MB / 1.318 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.05051/4.537, allocations: 11.6 MB / 1.329 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/4.537, allocations: 0 / 1.329 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.02743/4.565, allocations: 7.598 MB / 1.337 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008896/4.574, allocations: 0.879 MB / 1.338 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0415/4.615, allocations: 11.69 MB / 1.349 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0116/4.627, allocations: 4.191 MB / 1.353 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.006954/4.634, allocations: 0.6557 MB / 1.354 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006499/4.64, allocations: 2.117 MB / 1.356 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of SimCode: time 1.764e-06/4.64, allocations: 0 / 1.356 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.023/5.663, allocations: 131 MB / 1.484 GB, free: 155.8 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002426/5.664, allocations: 166.1 kB / 1.484 GB, free: 155.6 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.01/13.67, allocations: 0 / 1.484 GB, free: 155.6 MB / 0.8073 GB