Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.819/3.819, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.109e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/0.6066, allocations: 92.68 MB / 0.5896 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2772/0.8839, allocations: 150.4 MB / 0.7365 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/0.8843, allocations: 95.94 kB / 0.7366 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.08066/0.965, allocations: 19.13 MB / 0.7553 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.965, allocations: 0 / 0.7553 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.783e-05/0.9651, allocations: 8 kB / 0.7553 GB, free: 4.43 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001303/0.9664, allocations: 0.5527 MB / 0.7559 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.9665, allocations: 8.031 kB / 0.7559 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.9666, allocations: 66.52 kB / 0.7559 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.968, allocations: 103.6 kB / 0.756 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/0.9687, allocations: 283.7 kB / 0.7563 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.9687, allocations: 24.56 kB / 0.7563 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/0.9688, allocations: 24 kB / 0.7563 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.9699, allocations: 429.1 kB / 0.7567 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.9699, allocations: 4 kB / 0.7568 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.97, allocations: 12 kB / 0.7568 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/0.97, allocations: 24.55 kB / 0.7568 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009164/0.971, allocations: 349.9 kB / 0.7571 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.9747, allocations: 1.836 MB / 0.7589 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/0.9755, allocations: 267 kB / 0.7592 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.9759, allocations: 157.2 kB / 0.7593 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.976, allocations: 4.172 kB / 0.7593 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.976, allocations: 38.75 kB / 0.7594 GB, free: 20 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 3.857e-06/0.976, allocations: 0 / 0.7594 GB, free: 20 kB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.002072/0.9781, allocations: 0.8151 MB / 0.7602 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.9782, allocations: 55.41 kB / 0.7602 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.9786, allocations: 220.9 kB / 0.7604 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.9786, allocations: 33.7 kB / 0.7604 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.9788, allocations: 183.7 kB / 0.7606 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-05/0.9789, allocations: 98.62 kB / 0.7607 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.9789, allocations: 8 kB / 0.7607 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9791, allocations: 326.8 kB / 0.761 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.9795, allocations: 147.9 kB / 0.7612 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.98, allocations: 237.2 kB / 0.7614 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.9805, allocations: 186.6 kB / 0.7616 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9805, allocations: 0 / 0.7616 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001782/0.9823, allocations: 0.5641 MB / 0.7621 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.9823, allocations: 8 kB / 0.7621 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.9824, allocations: 0 / 0.7621 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.9834, allocations: 180.9 kB / 0.7623 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/0.9843, allocations: 63.89 kB / 0.7624 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/0.9911, allocations: 2.272 MB / 0.7646 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.992, allocations: 24.02 kB / 0.7646 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.9921, allocations: 8 kB / 0.7646 GB, free: 10.36 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.9923, allocations: 120.9 kB / 0.7647 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.9924, allocations: 27.67 kB / 0.7648 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.9937, allocations: 344.5 kB / 0.7651 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.9937, allocations: 4 kB / 0.7651 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9938, allocations: 4.062 kB / 0.7651 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.9938, allocations: 112 / 0.7651 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.9963, allocations: 0.8139 MB / 0.7659 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.9963, allocations: 0 / 0.7659 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/0.9971, allocations: 75.94 kB / 0.766 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.9971, allocations: 0 / 0.766 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.9972, allocations: 7.938 kB / 0.766 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.9972, allocations: 0 / 0.766 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9972, allocations: 8.062 kB / 0.766 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.9985, allocations: 0.6149 MB / 0.7666 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.9987, allocations: 128.8 kB / 0.7667 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.9988, allocations: 11.98 kB / 0.7667 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.9992, allocations: 19.98 kB / 0.7667 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.9993, allocations: 15.88 kB / 0.7668 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.9993, allocations: 8 kB / 0.7668 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002812/0.9996, allocations: 173.4 kB / 0.7669 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9996, allocations: 0 / 0.7669 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006201/1, allocations: 103.9 kB / 0.767 GB, free: 7.766 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001708/1.002, allocations: 1.328 MB / 0.7683 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001399/1.003, allocations: 0.5145 MB / 0.7688 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.003, allocations: 0 / 0.7688 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/1.004, allocations: 143.8 kB / 0.769 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/1.004, allocations: 55.12 kB / 0.769 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/1.007, allocations: 0.8172 MB / 0.7698 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/1.007, allocations: 0.799 MB / 0.7706 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000384/1.007, allocations: 74.91 kB / 0.7707 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/1.008, allocations: 79.41 kB / 0.7707 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/1.008, allocations: 0 / 0.7707 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5338/1.541, allocations: 6.228 MB / 0.7768 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/1.542, allocations: 187.3 kB / 0.777 GB, free: 170 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/4.057, allocations: 1.5 kB / 0.777 GB, free: 170 MB / 0.6511 GB