Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.2/4.2, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.665e-05/4.675e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2471, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8784/1.126, allocations: 153.5 MB / 0.8218 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/1.126, allocations: 89.53 kB / 0.8219 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1378/1.264, allocations: 36.51 MB / 0.8575 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/1.264, allocations: 0 / 0.8575 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.64e-05/1.264, allocations: 24 kB / 0.8576 GB, free: 10.46 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.002418/1.266, allocations: 0.9525 MB / 0.8585 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.266, allocations: 11.97 kB / 0.8585 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/1.267, allocations: 124.2 kB / 0.8586 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/1.269, allocations: 238.6 kB / 0.8589 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/1.27, allocations: 0.5241 MB / 0.8594 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/1.27, allocations: 53.19 kB / 0.8594 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/1.27, allocations: 74.97 kB / 0.8595 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/1.273, allocations: 1.107 MB / 0.8606 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/1.273, allocations: 11.31 kB / 0.8606 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/1.273, allocations: 30.06 kB / 0.8606 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/1.273, allocations: 55.78 kB / 0.8607 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/1.275, allocations: 0.7083 MB / 0.8614 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008163/1.283, allocations: 5.915 MB / 0.8671 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/1.285, allocations: 0.5376 MB / 0.8677 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/1.285, allocations: 326.1 kB / 0.868 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.131e-05/1.286, allocations: 8.438 kB / 0.868 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/1.286, allocations: 42.5 kB / 0.868 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.995e-06/1.286, allocations: 0 / 0.868 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.003777/1.289, allocations: 1.22 MB / 0.8692 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/1.29, allocations: 63.78 kB / 0.8693 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/1.29, allocations: 485.4 kB / 0.8697 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/1.291, allocations: 36.39 kB / 0.8698 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/1.291, allocations: 405.2 kB / 0.8702 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/1.291, allocations: 166.9 kB / 0.8703 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/1.291, allocations: 9.438 kB / 0.8703 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.291, allocations: 379.5 kB / 0.8707 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/1.292, allocations: 264.8 kB / 0.8709 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008147/1.293, allocations: 451.1 kB / 0.8714 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/1.294, allocations: 333.8 kB / 0.8717 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.294, allocations: 0 / 0.8717 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00294/1.297, allocations: 1.026 MB / 0.8727 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/1.297, allocations: 11.94 kB / 0.8727 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.297, allocations: 8 kB / 0.8727 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/1.298, allocations: 274.5 kB / 0.873 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000907/1.299, allocations: 119.7 kB / 0.8731 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009262/1.308, allocations: 6.584 MB / 0.8795 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.31, allocations: 46.02 kB / 0.8796 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/1.31, allocations: 26.38 kB / 0.8796 GB, free: 6.035 MB / 0.6667 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.0002386/1.31, allocations: 139.2 kB / 0.8797 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/1.31, allocations: 67.25 kB / 0.8798 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/1.313, allocations: 0.8891 MB / 0.8806 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.313, allocations: 4 kB / 0.8806 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/1.313, allocations: 4 kB / 0.8807 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/1.313, allocations: 0 / 0.8807 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004436/1.317, allocations: 1.699 MB / 0.8823 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.317, allocations: 0 / 0.8823 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/1.318, allocations: 67.83 kB / 0.8824 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/1.319, allocations: 267.5 kB / 0.8826 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/1.319, allocations: 7 kB / 0.8826 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009508/1.329, allocations: 6.574 MB / 0.8891 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.329, allocations: 4.031 kB / 0.8891 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/1.332, allocations: 1.034 MB / 0.8901 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/1.332, allocations: 188.8 kB / 0.8903 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.332, allocations: 11.44 kB / 0.8903 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000654/1.333, allocations: 25.91 kB / 0.8903 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/1.333, allocations: 53.89 kB / 0.8903 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/1.333, allocations: 15.88 kB / 0.8904 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000693/1.334, allocations: 379.4 kB / 0.8907 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/1.334, allocations: 0 / 0.8907 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001206/1.335, allocations: 233.7 kB / 0.8909 GB, free: 11.44 MB / 0.6823 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.003104/1.338, allocations: 2.026 MB / 0.8929 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003043/1.341, allocations: 1.201 MB / 0.8941 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.342, allocations: 0 / 0.8941 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/1.344, allocations: 0.8424 MB / 0.8949 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/1.345, allocations: 194.5 kB / 0.8951 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/1.348, allocations: 1.136 MB / 0.8962 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008721/1.349, allocations: 1.027 MB / 0.8972 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000835/1.35, allocations: 114 kB / 0.8973 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/1.351, allocations: 251.2 kB / 0.8976 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/1.351, allocations: 0 / 0.8976 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06183/1.413, allocations: 16.14 MB / 0.9133 GB, free: 5.418 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003476/1.413, allocations: 178.7 kB / 0.9135 GB, free: 5.195 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/4.151, allocations: 4 kB / 0.9135 GB, free: 5.191 MB / 0.698 GB