Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.269/4.269, allocations: 404.1 MB / 411.3 MB, free: 368 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.757e-05, allocations: 4 kB / 0.4945 GB, free: 1.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.6286, allocations: 92.69 MB / 0.5851 GB, free: 2.258 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3197/0.9484, allocations: 163.3 MB / 0.7445 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005123/0.9489, allocations: 91.94 kB / 0.7446 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1525/1.101, allocations: 28.28 MB / 0.7722 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.529e-06/1.102, allocations: 0 / 0.7722 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.826e-05/1.102, allocations: 15.94 kB / 0.7722 GB, free: 2.016 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001839/1.103, allocations: 0.6813 MB / 0.7729 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.103, allocations: 8.031 kB / 0.7729 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/1.109, allocations: 0.5804 MB / 0.7735 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/1.11, allocations: 470.8 kB / 0.7739 GB, free: 208 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/1.11, allocations: 8 kB / 0.7739 GB, free: 200 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.11, allocations: 23.98 kB / 0.774 GB, free: 176 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5319/1.642, allocations: 463.6 kB / 0.7744 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.644, allocations: 0.5396 MB / 0.7749 GB, free: 170 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/1.644, allocations: 2.641 kB / 0.7749 GB, free: 170 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/1.644, allocations: 3.641 kB / 0.7749 GB, free: 170 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.706e-05/1.644, allocations: 24.02 kB / 0.775 GB, free: 170 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007449/1.652, allocations: 2.261 MB / 0.7772 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.653, allocations: 341.1 kB / 0.7775 GB, free: 169 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/1.654, allocations: 163.8 kB / 0.7776 GB, free: 169 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/1.654, allocations: 89.3 kB / 0.7777 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/1.654, allocations: 35.33 kB / 0.7778 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 3.146e-06/1.654, allocations: 0 / 0.7778 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.009522/1.664, allocations: 1.535 MB / 0.7793 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/1.664, allocations: 79.17 kB / 0.7793 GB, free: 168.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/1.664, allocations: 329 kB / 0.7796 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/1.665, allocations: 26.61 kB / 0.7797 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/1.665, allocations: 240.9 kB / 0.7799 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/1.665, allocations: 83.08 kB / 0.78 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/1.665, allocations: 0 / 0.78 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.665, allocations: 346.1 kB / 0.7803 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/1.666, allocations: 245.8 kB / 0.7805 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/1.667, allocations: 316.8 kB / 0.7808 GB, free: 168 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/1.668, allocations: 288.3 kB / 0.7811 GB, free: 168 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.668, allocations: 4.969 kB / 0.7811 GB, free: 168 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005674/1.673, allocations: 1.063 MB / 0.7822 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/1.674, allocations: 0.7859 MB / 0.7829 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.674, allocations: 2.312 kB / 0.7829 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004345/1.678, allocations: 484.8 kB / 0.7834 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.679, allocations: 138.1 kB / 0.7835 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005895/1.685, allocations: 3.003 MB / 0.7865 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.687, allocations: 106.5 kB / 0.7866 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/1.687, allocations: 14.62 kB / 0.7866 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.687, allocations: 7.719 kB / 0.7866 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/1.689, allocations: 466.2 kB / 0.787 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.689, allocations: 3.844 kB / 0.787 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.689, allocations: 11.44 kB / 0.787 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.69, allocations: 155.6 kB / 0.7872 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/1.69, allocations: 3.969 kB / 0.7872 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.692, allocations: 91.91 kB / 0.7873 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/1.692, allocations: 22.62 kB / 0.7873 GB, free: 165.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002565/1.692, allocations: 109.2 kB / 0.7874 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005642/1.698, allocations: 1.042 MB / 0.7884 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/1.698, allocations: 43.06 kB / 0.7885 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005853/1.704, allocations: 1.098 MB / 0.7895 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.704, allocations: 3.344 kB / 0.7895 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.704, allocations: 0 / 0.7895 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/1.704, allocations: 3.938 kB / 0.7895 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007094/1.711, allocations: 1.721 MB / 0.7912 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.711, allocations: 0 / 0.7912 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/1.712, allocations: 87.19 kB / 0.7913 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004852/1.717, allocations: 0.619 MB / 0.7919 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-05/1.717, allocations: 6.938 kB / 0.7919 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008358/1.726, allocations: 4.21 MB / 0.796 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/1.726, allocations: 3.906 kB / 0.796 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/1.731, allocations: 1.158 MB / 0.7972 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/1.732, allocations: 169.8 kB / 0.7973 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/1.732, allocations: 3.953 kB / 0.7973 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.733, allocations: 118.2 kB / 0.7974 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.733, allocations: 18.88 kB / 0.7975 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/1.733, allocations: 11.62 kB / 0.7975 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004683/1.734, allocations: 265 kB / 0.7977 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.254e-06/1.734, allocations: 0 / 0.7977 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001324/1.735, allocations: 193.8 kB / 0.7979 GB, free: 160.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006077/1.741, allocations: 1.99 MB / 0.7999 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002859/1.744, allocations: 0.9614 MB / 0.8008 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.744, allocations: 7.188 kB / 0.8008 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/1.746, allocations: 0.5617 MB / 0.8014 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.747, allocations: 99.81 kB / 0.8014 GB, free: 159 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/1.75, allocations: 0.9771 MB / 0.8024 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/1.751, allocations: 0.918 MB / 0.8033 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001454/1.752, allocations: 228.3 kB / 0.8035 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/1.753, allocations: 129.2 kB / 0.8036 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.253e-06/1.753, allocations: 0 / 0.8036 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06704/1.82, allocations: 13.66 MB / 0.817 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002794/1.82, allocations: 171.5 kB / 0.8171 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.232/5.052, allocations: 0 / 0.8171 GB, free: 148.9 MB / 0.6511 GB