Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.432/4.432, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.804e-05, allocations: 4 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 107.1 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8779/1.116, allocations: 162.1 MB / 0.8361 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/1.116, allocations: 96.03 kB / 0.8362 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07841/1.195, allocations: 19.2 MB / 0.855 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.154e-06/1.195, allocations: 0 / 0.855 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.521e-05/1.195, allocations: 7.984 kB / 0.855 GB, free: 9.176 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001351/1.196, allocations: 0.5429 MB / 0.8555 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.196, allocations: 8.031 kB / 0.8555 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/1.196, allocations: 70.47 kB / 0.8556 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/1.198, allocations: 107.5 kB / 0.8557 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/1.199, allocations: 286 kB / 0.856 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/1.199, allocations: 23.11 kB / 0.856 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/1.199, allocations: 27.06 kB / 0.856 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000986/1.2, allocations: 419.6 kB / 0.8564 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/1.2, allocations: 3.938 kB / 0.8564 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/1.2, allocations: 14.55 kB / 0.8564 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.118e-05/1.2, allocations: 32.48 kB / 0.8564 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/1.201, allocations: 330.1 kB / 0.8568 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/1.205, allocations: 2.205 MB / 0.8589 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/1.206, allocations: 266.4 kB / 0.8592 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/1.206, allocations: 158.9 kB / 0.8593 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/1.206, allocations: 4.188 kB / 0.8593 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.206, allocations: 34.75 kB / 0.8594 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 2.675e-06/1.206, allocations: 0 / 0.8594 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.002076/1.208, allocations: 0.8094 MB / 0.8601 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/1.208, allocations: 51.41 kB / 0.8602 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/1.209, allocations: 226.5 kB / 0.8604 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/1.209, allocations: 37.33 kB / 0.8604 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/1.209, allocations: 183.3 kB / 0.8606 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/1.209, allocations: 85.38 kB / 0.8607 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/1.209, allocations: 6.938 kB / 0.8607 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.209, allocations: 338 kB / 0.861 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/1.209, allocations: 147.9 kB / 0.8612 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/1.21, allocations: 231.1 kB / 0.8614 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/1.21, allocations: 179.8 kB / 0.8616 GB, free: 3.031 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.21, allocations: 0 / 0.8616 GB, free: 3.031 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001763/1.212, allocations: 0.5544 MB / 0.8621 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/1.212, allocations: 15.22 kB / 0.8621 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.212, allocations: 7.938 kB / 0.8621 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/1.213, allocations: 188.5 kB / 0.8623 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/1.214, allocations: 59.89 kB / 0.8624 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/1.218, allocations: 2.271 MB / 0.8646 GB, free: 336 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/1.219, allocations: 19.64 kB / 0.8646 GB, free: 320 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/1.219, allocations: 19.62 kB / 0.8646 GB, free: 304 kB / 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.0001533/1.219, allocations: 123.3 kB / 0.8647 GB, free: 184 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/1.219, allocations: 23.72 kB / 0.8648 GB, free: 160 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009066/1.22, allocations: 347.1 kB / 0.8651 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.22, allocations: 4 kB / 0.8651 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.22, allocations: 3.953 kB / 0.8651 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/1.22, allocations: 4 kB / 0.8651 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/1.222, allocations: 0.809 MB / 0.8659 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.222, allocations: 0 / 0.8659 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/1.223, allocations: 79.5 kB / 0.866 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.223, allocations: 3.953 kB / 0.866 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/1.223, allocations: 7.875 kB / 0.866 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/1.223, allocations: 0 / 0.866 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.223, allocations: 4 kB / 0.866 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/1.224, allocations: 0.6234 MB / 0.8666 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/1.224, allocations: 127.6 kB / 0.8667 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/1.224, allocations: 7.625 kB / 0.8667 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/1.225, allocations: 10.92 kB / 0.8667 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/1.225, allocations: 19.36 kB / 0.8668 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/1.225, allocations: 8 kB / 0.8668 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002699/1.225, allocations: 173.9 kB / 0.8669 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.21e-07/1.225, allocations: 0 / 0.8669 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007048/1.226, allocations: 102.7 kB / 0.867 GB, free: 14.21 MB / 0.6667 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.001793/1.228, allocations: 1.321 MB / 0.8683 GB, free: 13 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001488/1.229, allocations: 0.5077 MB / 0.8688 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.229, allocations: 0 / 0.8688 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/1.23, allocations: 143 kB / 0.8689 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/1.23, allocations: 50.94 kB / 0.869 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/1.233, allocations: 0.8027 MB / 0.8698 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/1.234, allocations: 0.8019 MB / 0.8706 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004235/1.234, allocations: 74.92 kB / 0.8706 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/1.234, allocations: 83.41 kB / 0.8707 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of SimCode: time 1.422e-06/1.234, allocations: 0 / 0.8707 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/1.265, allocations: 6.194 MB / 0.8768 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003526/1.266, allocations: 195.9 kB / 0.8769 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/4.047, allocations: 0 / 0.8769 GB, free: 4.438 MB / 0.6667 GB