Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.346/2.346, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.123e-05, allocations: 7.984 kB / 301.4 MB, free: 7.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 53.24 MB / 354.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.5827, allocations: 88.81 MB / 443.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000415/0.5832, allocations: 83.95 kB / 443.5 MB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03867/0.6219, allocations: 6.444 MB / 449.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.29e-06/0.6219, allocations: 0 / 449.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.622, allocations: 11.94 kB / 449.9 MB, free: 6.598 MB / 378.7 MB 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.001538/0.6235, allocations: 0.5348 MB / 450.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.6236, allocations: 8.031 kB / 450.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.6238, allocations: 58.55 kB / 450.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.6239, allocations: 31.62 kB / 450.6 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.6271, allocations: 0.6505 MB / 451.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.6271, allocations: 12.78 kB / 451.2 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.6274, allocations: 39.94 kB / 451.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009117/0.6284, allocations: 289.3 kB / 451.6 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.6284, allocations: 0 / 451.6 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.6285, allocations: 8 kB / 451.6 MB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.6285, allocations: 4 kB / 451.6 MB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.6292, allocations: 183.6 kB / 451.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.6328, allocations: 1.289 MB / 453 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005366/0.6333, allocations: 119.8 kB / 453.2 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.6335, allocations: 51.28 kB / 453.2 MB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.6336, allocations: 0 / 453.2 MB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.6336, allocations: 34.56 kB / 453.2 MB, free: 3.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.975e-06/0.6336, allocations: 0 / 453.2 MB, free: 3.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001617/0.6353, allocations: 0.4926 MB / 453.7 MB, free: 2.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.6354, allocations: 110.9 kB / 453.8 MB, free: 2.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.6358, allocations: 220.5 kB / 454.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.6359, allocations: 29.7 kB / 454.1 MB, free: 2.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.6361, allocations: 246.3 kB / 454.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.6362, allocations: 39.45 kB / 454.4 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.6363, allocations: 0 / 454.4 MB, free: 1.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6364, allocations: 322.8 kB / 454.7 MB, free: 1.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.6366, allocations: 44 kB / 454.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.6369, allocations: 120 kB / 454.8 MB, free: 1.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.6372, allocations: 59.97 kB / 454.9 MB, free: 1.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6372, allocations: 7.938 kB / 454.9 MB, free: 1.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008469/0.6381, allocations: 206.2 kB / 455.1 MB, free: 1.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.6381, allocations: 4 kB / 455.1 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.6381, allocations: 8.344 kB / 455.1 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.6384, allocations: 36.78 kB / 455.1 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009196/0.6393, allocations: 55.95 kB / 455.2 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.6394, allocations: 7.938 kB / 455.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.6398, allocations: 17.11 kB / 455.2 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.6398, allocations: 12 kB / 455.2 MB, free: 0.8711 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.64, allocations: 124.8 kB / 455.4 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.6401, allocations: 15.81 kB / 455.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005957/0.6408, allocations: 151.4 kB / 455.5 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.6408, allocations: 4 kB / 455.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6408, allocations: 0 / 455.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.6408, allocations: 0 / 455.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007743/0.6416, allocations: 297.5 kB / 455.8 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.6416, allocations: 0 / 455.8 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.6421, allocations: 35.92 kB / 455.9 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.6421, allocations: 0 / 455.9 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.6422, allocations: 4 kB / 455.9 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.6422, allocations: 4.656 kB / 455.9 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6422, allocations: 0 / 455.9 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.6431, allocations: 390.7 kB / 456.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.6433, allocations: 96.92 kB / 456.3 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.6434, allocations: 8 kB / 456.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.6438, allocations: 7.938 kB / 456.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.6438, allocations: 7.984 kB / 456.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.6439, allocations: 13.67 kB / 456.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002916/0.6442, allocations: 167.1 kB / 456.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6442, allocations: 0 / 456.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005726/0.6448, allocations: 55.94 kB / 456.6 MB, free: 15.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00106/0.6459, allocations: 1.064 MB / 457.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.6464, allocations: 210.5 kB / 457.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6464, allocations: 0 / 457.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.6466, allocations: 51.94 kB / 457.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.6472, allocations: 55.27 kB / 458 MB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.6489, allocations: 0.5279 MB / 458.5 MB, free: 13.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.6494, allocations: 0.7796 MB / 459.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.6496, allocations: 91.41 kB / 459.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of SimCode: time 4.258e-06/0.6496, allocations: 0 / 459.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.822/3.471, allocations: 4.614 MB / 464 MB, free: 7.895 MB / 394.7 MB