Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.209/4.209, allocations: 404.1 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.771e-05, allocations: 4 kB / 0.4945 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6849/0.685, allocations: 92.68 MB / 0.585 GB, free: 2.301 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2697/0.9548, allocations: 140.3 MB / 0.722 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/0.9552, allocations: 91.88 kB / 0.7221 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.07591/1.031, allocations: 16.02 MB / 0.7377 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/1.031, allocations: 0 / 0.7377 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.286e-05/1.031, allocations: 4 kB / 0.7377 GB, free: 5.574 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001187/1.032, allocations: 0.5224 MB / 0.7383 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.032, allocations: 8.031 kB / 0.7383 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/1.034, allocations: 99.56 kB / 0.7384 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/1.034, allocations: 253.5 kB / 0.7386 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.034, allocations: 8 kB / 0.7386 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/1.035, allocations: 8 kB / 0.7386 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006987/1.035, allocations: 224.7 kB / 0.7388 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/1.036, allocations: 329.4 kB / 0.7391 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.036, allocations: 3.938 kB / 0.7391 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/1.036, allocations: 0 / 0.7391 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-05/1.036, allocations: 24.27 kB / 0.7392 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/1.039, allocations: 1.473 MB / 0.7406 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.04, allocations: 309 kB / 0.7409 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/1.041, allocations: 133.7 kB / 0.741 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/1.041, allocations: 89.09 kB / 0.7411 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/1.041, allocations: 38.56 kB / 0.7412 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.715e-06/1.041, allocations: 0 / 0.7412 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001448/1.042, allocations: 360.4 kB / 0.7415 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/1.043, allocations: 81.11 kB / 0.7416 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/1.043, allocations: 181.6 kB / 0.7417 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/1.043, allocations: 25.7 kB / 0.7418 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/1.043, allocations: 156.2 kB / 0.7419 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/1.043, allocations: 78.84 kB / 0.742 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/1.043, allocations: 0 / 0.742 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.043, allocations: 330.8 kB / 0.7423 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/1.044, allocations: 108 kB / 0.7424 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/1.044, allocations: 190.4 kB / 0.7426 GB, free: 276 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/1.045, allocations: 152 kB / 0.7427 GB, free: 128 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.045, allocations: 0 / 0.7427 GB, free: 128 kB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001235/1.046, allocations: 372.8 kB / 0.7431 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004626/1.046, allocations: 1.047 MB / 0.7441 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.046, allocations: 11.86 kB / 0.7441 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/1.047, allocations: 52.8 kB / 0.7442 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/1.047, allocations: 71.88 kB / 0.7442 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/1.05, allocations: 1.43 MB / 0.7456 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/1.05, allocations: 27.91 kB / 0.7457 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/1.05, allocations: 12.06 kB / 0.7457 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.05, allocations: 4 kB / 0.7457 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/1.051, allocations: 313.9 kB / 0.746 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.051, allocations: 0 / 0.746 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/1.052, allocations: 45.16 kB / 0.746 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/1.052, allocations: 75.88 kB / 0.7461 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/1.054, allocations: 1.422 MB / 0.7475 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/1.055, allocations: 27.81 kB / 0.7475 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/1.055, allocations: 8 kB / 0.7475 GB, free: 10.89 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001984/1.055, allocations: 116.9 kB / 0.7476 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001078/1.056, allocations: 298 kB / 0.7479 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/1.056, allocations: 19.88 kB / 0.7479 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/1.057, allocations: 328.5 kB / 0.7483 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.057, allocations: 4 kB / 0.7483 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.057, allocations: 0 / 0.7483 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.057, allocations: 3.984 kB / 0.7483 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/1.06, allocations: 0.8707 MB / 0.7491 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.06, allocations: 4 kB / 0.7491 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/1.06, allocations: 52.11 kB / 0.7492 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/1.061, allocations: 44.83 kB / 0.7492 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/1.061, allocations: 0 / 0.7492 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/1.062, allocations: 1.354 MB / 0.7505 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/1.062, allocations: 7.969 kB / 0.7505 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/1.063, allocations: 0.5806 MB / 0.7511 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/1.064, allocations: 128.7 kB / 0.7512 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/1.064, allocations: 4 kB / 0.7512 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/1.064, allocations: 19.97 kB / 0.7512 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.064, allocations: 19.98 kB / 0.7513 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/1.064, allocations: 8 kB / 0.7513 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002039/1.065, allocations: 148.2 kB / 0.7514 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.735e-06/1.065, allocations: 0 / 0.7514 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001039/1.066, allocations: 103.9 kB / 0.7515 GB, free: 6.488 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001728/1.067, allocations: 1.62 MB / 0.7531 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00172/1.069, allocations: 0.6453 MB / 0.7537 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.069, allocations: 4.062 kB / 0.7537 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005846/1.07, allocations: 237.6 kB / 0.754 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/1.07, allocations: 33 kB / 0.754 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/1.072, allocations: 486.4 kB / 0.7545 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/1.073, allocations: 0.7756 MB / 0.7552 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005959/1.073, allocations: 89.98 kB / 0.7553 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/1.074, allocations: 67.41 kB / 0.7554 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/1.074, allocations: 0 / 0.7554 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05566/1.129, allocations: 4.814 MB / 0.7601 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000354/1.13, allocations: 151 kB / 0.7602 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.86/3.99, allocations: 0 / 0.7602 GB, free: 13.38 MB / 0.6511 GB