Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.231/2.231, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.526e-05/6.531e-05, allocations: 7.938 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 53.24 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5566, allocations: 92.5 MB / 448 MB, free: 9.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.557, allocations: 87.95 kB / 448.1 MB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04396/0.601, allocations: 9.934 MB / 458.1 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.601, allocations: 0 / 458.1 MB, free: 15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.967e-05/0.6011, allocations: 12 kB / 458.1 MB, free: 14.98 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001221/0.6023, allocations: 0.5706 MB / 458.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.6024, allocations: 12.03 kB / 458.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.6025, allocations: 62.53 kB / 458.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.6026, allocations: 43.47 kB / 458.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.6048, allocations: 0.6076 MB / 459.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.6048, allocations: 16.56 kB / 459.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.151e-05/0.6049, allocations: 32.52 kB / 459.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.6057, allocations: 329.9 kB / 459.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.6057, allocations: 3.938 kB / 459.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.6058, allocations: 12 kB / 459.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.6058, allocations: 8 kB / 459.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.6063, allocations: 196.7 kB / 459.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.6087, allocations: 1.483 MB / 461.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.6094, allocations: 190.4 kB / 461.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.6096, allocations: 79.42 kB / 461.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.6096, allocations: 4 kB / 461.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.6096, allocations: 38.56 kB / 461.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.966e-06/0.6097, allocations: 0 / 461.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.001842/0.6115, allocations: 0.8308 MB / 462.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.6116, allocations: 136.5 kB / 462.7 MB, free: 9.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.6121, allocations: 259.7 kB / 463 MB, free: 9.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.6121, allocations: 33.7 kB / 463 MB, free: 9.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.6124, allocations: 219.9 kB / 463.2 MB, free: 9.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.6125, allocations: 70.94 kB / 463.3 MB, free: 9.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.6125, allocations: 5.875 kB / 463.3 MB, free: 9.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6127, allocations: 346.9 kB / 463.6 MB, free: 9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.6128, allocations: 47.98 kB / 463.7 MB, free: 8.953 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.6131, allocations: 144.9 kB / 463.8 MB, free: 8.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.6133, allocations: 75.91 kB / 463.9 MB, free: 8.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.6133, allocations: 4 kB / 463.9 MB, free: 8.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006052/0.6139, allocations: 251 kB / 464.1 MB, free: 8.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.614, allocations: 4 kB / 464.1 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.614, allocations: 4 kB / 464.1 MB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.614, allocations: 7.984 kB / 464.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.6147, allocations: 83.89 kB / 464.2 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.6159, allocations: 1.282 MB / 465.5 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.6162, allocations: 8 kB / 465.5 MB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.6162, allocations: 8 kB / 465.5 MB, free: 6.914 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.6164, allocations: 124.9 kB / 465.6 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.6165, allocations: 35.73 kB / 465.7 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/0.617, allocations: 198.8 kB / 465.9 MB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6171, allocations: 7.938 kB / 465.9 MB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.6171, allocations: 0 / 465.9 MB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6171, allocations: 3.984 kB / 465.9 MB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.6182, allocations: 0.5429 MB / 466.4 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6183, allocations: 0 / 466.4 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.6188, allocations: 52 kB / 466.5 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.6188, allocations: 4 kB / 466.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.6188, allocations: 0 / 466.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.6188, allocations: 4 kB / 466.5 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6188, allocations: 0 / 466.5 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.6196, allocations: 0.5284 MB / 467 MB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.6197, allocations: 100.7 kB / 467.1 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.6198, allocations: 8 kB / 467.1 MB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.6201, allocations: 11.98 kB / 467.1 MB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.6202, allocations: 11.98 kB / 467.1 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.6202, allocations: 12 kB / 467.2 MB, free: 5.152 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003257/0.6206, allocations: 210.2 kB / 467.4 MB, free: 4.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6206, allocations: 0 / 467.4 MB, free: 4.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006774/0.6213, allocations: 64 kB / 467.4 MB, free: 4.887 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (motor.phi_el,motor.w_el,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.001263/0.6225, allocations: 1.317 MB / 468.7 MB, free: 3.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005445/0.6231, allocations: 143.8 kB / 468.9 MB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6231, allocations: 0.875 kB / 468.9 MB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.6233, allocations: 69.97 kB / 468.9 MB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/0.6242, allocations: 94.56 kB / 469 MB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.6264, allocations: 0.6942 MB / 469.7 MB, free: 2.496 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.627, allocations: 0.8109 MB / 470.5 MB, free: 1.656 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003561/0.6273, allocations: 54.94 kB / 470.6 MB, free: 1.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.6276, allocations: 107.4 kB / 470.7 MB, free: 1.496 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6276, allocations: 0 / 470.7 MB, free: 1.496 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.6657, allocations: 6.848 MB / 477.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.6661, allocations: 153.7 kB / 477.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/3.537, allocations: 4 kB / 477.7 MB, free: 10.5 MB / 410.7 MB