Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.302/4.302, allocations: 404.2 MB / 411.3 MB, free: 372 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.842e-05, allocations: 4 kB / 0.4946 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6196, allocations: 92.68 MB / 0.5851 GB, free: 2.32 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2715/0.8911, allocations: 145.1 MB / 0.7267 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003762/0.8915, allocations: 95.94 kB / 0.7268 GB, free: 0.9453 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1632/1.055, allocations: 36.55 MB / 0.7625 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.254e-06/1.055, allocations: 0 / 0.7625 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.529e-05/1.055, allocations: 27.94 kB / 0.7625 GB, free: 11.9 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00271/1.058, allocations: 0.9595 MB / 0.7635 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.058, allocations: 8.031 kB / 0.7635 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/1.061, allocations: 238.7 kB / 0.7637 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/1.062, allocations: 0.5337 MB / 0.7642 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/1.062, allocations: 24 kB / 0.7643 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/1.063, allocations: 43.91 kB / 0.7643 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00192/1.065, allocations: 0.5974 MB / 0.7649 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/1.067, allocations: 1.025 MB / 0.7659 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/1.067, allocations: 7.938 kB / 0.7659 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/1.067, allocations: 4 kB / 0.7659 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/1.067, allocations: 53.28 kB / 0.766 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008283/1.076, allocations: 4.747 MB / 0.7706 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.077, allocations: 0.5234 MB / 0.7711 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007374/1.078, allocations: 314.1 kB / 0.7714 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.45e-05/1.078, allocations: 4.438 kB / 0.7714 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/1.078, allocations: 42.94 kB / 0.7714 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 4.097e-06/1.078, allocations: 0 / 0.7714 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.003744/1.082, allocations: 1.162 MB / 0.7726 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.082, allocations: 59.84 kB / 0.7726 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007375/1.083, allocations: 398.2 kB / 0.773 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/1.083, allocations: 25.7 kB / 0.773 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/1.083, allocations: 418.8 kB / 0.7734 GB, free: 272 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/1.083, allocations: 153.7 kB / 0.7736 GB, free: 116 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/1.084, allocations: 0 / 0.7736 GB, free: 116 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.5882/1.672, allocations: 367.4 kB / 0.7739 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/1.673, allocations: 246.2 kB / 0.7742 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.674, allocations: 439.9 kB / 0.7746 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.675, allocations: 321 kB / 0.7749 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/1.675, allocations: 2.875 kB / 0.7749 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004237/1.68, allocations: 0.9609 MB / 0.7758 GB, free: 165 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/1.68, allocations: 14.66 kB / 0.7759 GB, free: 165 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/1.68, allocations: 6.406 kB / 0.7759 GB, free: 165 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/1.682, allocations: 261 kB / 0.7761 GB, free: 165 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.683, allocations: 122.6 kB / 0.7762 GB, free: 165 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.696, allocations: 6.328 MB / 0.7824 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/1.697, allocations: 23.77 kB / 0.7824 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/1.698, allocations: 29.86 kB / 0.7825 GB, free: 160.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002769/1.698, allocations: 123.7 kB / 0.7826 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003079/1.701, allocations: 0.7837 MB / 0.7833 GB, free: 160.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/1.701, allocations: 67.41 kB / 0.7834 GB, free: 160 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/1.704, allocations: 0.8221 MB / 0.7842 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.704, allocations: 7.625 kB / 0.7842 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.704, allocations: 10.77 kB / 0.7842 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/1.704, allocations: 2.391 kB / 0.7842 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004493/1.709, allocations: 1.566 MB / 0.7858 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.709, allocations: 0 / 0.7858 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/1.709, allocations: 62.41 kB / 0.7858 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/1.711, allocations: 258.7 kB / 0.7861 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.524e-05/1.711, allocations: 0 / 0.7861 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007892/1.719, allocations: 6.312 MB / 0.7922 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.719, allocations: 3.953 kB / 0.7922 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/1.721, allocations: 0.9939 MB / 0.7932 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/1.722, allocations: 191 kB / 0.7934 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/1.722, allocations: 3.969 kB / 0.7934 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/1.723, allocations: 15.14 kB / 0.7934 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/1.723, allocations: 49.12 kB / 0.7934 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/1.723, allocations: 10.78 kB / 0.7935 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004926/1.723, allocations: 311.4 kB / 0.7938 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.723, allocations: 0 / 0.7938 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001325/1.725, allocations: 192.4 kB / 0.7939 GB, free: 154.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002615/1.727, allocations: 1.98 MB / 0.7959 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002955/1.73, allocations: 1.162 MB / 0.797 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.73, allocations: 3.5 kB / 0.797 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/1.732, allocations: 0.8389 MB / 0.7978 GB, free: 152 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/1.734, allocations: 174.7 kB / 0.798 GB, free: 152 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/1.738, allocations: 1.205 MB / 0.7992 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/1.738, allocations: 1.033 MB / 0.8002 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000836/1.739, allocations: 109 kB / 0.8003 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004619/1.74, allocations: 248.6 kB / 0.8005 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.74, allocations: 0 / 0.8005 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/1.853, allocations: 14.6 MB / 0.8148 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002403/1.854, allocations: 168.4 kB / 0.8149 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.106/4.96, allocations: 0 / 0.8149 GB, free: 148.5 MB / 0.6511 GB