Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.42/2.42, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.122e-05/4.119e-05, allocations: 7.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1225, allocations: 53.24 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.6085, allocations: 107.5 MB / 463.1 MB, free: 10.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.6088, allocations: 91.95 kB / 463.2 MB, free: 9.938 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1159/0.7248, allocations: 25.92 MB / 489.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7248, allocations: 0 / 489.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.608e-05/0.7249, allocations: 23.94 kB / 489.1 MB, free: 15.69 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.003343/0.7283, allocations: 0.9508 MB / 490 MB, free: 14.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.7284, allocations: 12.02 kB / 490.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004155/0.7288, allocations: 118.5 kB / 490.2 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007705/0.7296, allocations: 103 kB / 490.3 MB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.7327, allocations: 0.8523 MB / 491.1 MB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.7329, allocations: 79.69 kB / 491.2 MB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.7331, allocations: 67.94 kB / 491.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.7356, allocations: 0.9369 MB / 492.2 MB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.7357, allocations: 7.938 kB / 492.2 MB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.7358, allocations: 24 kB / 492.2 MB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.736, allocations: 57.3 kB / 492.3 MB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.7382, allocations: 0.7327 MB / 493 MB, free: 11.6 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.7487, allocations: 3.846 MB / 496.9 MB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.7507, allocations: 416.1 kB / 497.3 MB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.7519, allocations: 270.5 kB / 497.5 MB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.661e-05/0.752, allocations: 4 kB / 497.6 MB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.717e-05/0.7521, allocations: 43.08 kB / 497.6 MB, free: 6.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 5.45e-06/0.7521, allocations: 4 kB / 497.6 MB, free: 6.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.02742/0.7795, allocations: 3.662 MB / 0.4895 GB, free: 2.938 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.7797, allocations: 111.2 kB / 0.4896 GB, free: 2.805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.781, allocations: 456.6 kB / 0.4901 GB, free: 2.352 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.7812, allocations: 29.7 kB / 0.4901 GB, free: 2.316 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000531/0.7817, allocations: 395.1 kB / 0.4905 GB, free: 1.926 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.7821, allocations: 201.1 kB / 0.4906 GB, free: 1.727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.7822, allocations: 16 kB / 0.4907 GB, free: 1.711 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002703/0.7825, allocations: 370.8 kB / 0.491 GB, free: 1.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.7837, allocations: 273.5 kB / 0.4913 GB, free: 1.074 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.7851, allocations: 495.7 kB / 0.4918 GB, free: 500 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.7866, allocations: 377.3 kB / 0.4921 GB, free: 120 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.7866, allocations: 0 / 0.4921 GB, free: 120 kB / 426.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.009147/0.7958, allocations: 1.533 MB / 0.4936 GB, free: 14.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.7959, allocations: 12.23 kB / 0.4936 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/0.7959, allocations: 15.95 kB / 0.4936 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004671/0.8006, allocations: 487.8 kB / 0.4941 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.802, allocations: 111.8 kB / 0.4942 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02648/0.8285, allocations: 9.934 MB / 0.5039 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.83, allocations: 43.84 kB / 0.5039 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.8302, allocations: 28 kB / 0.504 GB, free: 3.188 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (59): * Single equations (assignments): 54 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(3,88.9%) 8,(1,100.0%) 2,(1,100.0%) 3} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003743/0.8306, allocations: 152.8 kB / 0.5041 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/0.831, allocations: 59.25 kB / 0.5042 GB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00786/0.8389, allocations: 1.438 MB / 0.5056 GB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.839, allocations: 8 kB / 0.5056 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/0.839, allocations: 4 kB / 0.5056 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.839, allocations: 0 / 0.5056 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.8502, allocations: 2.347 MB / 0.5079 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.8503, allocations: 7.938 kB / 0.5079 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009087/0.8513, allocations: 51.91 kB / 0.5079 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00422/0.8555, allocations: 492.2 kB / 0.5084 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.8557, allocations: 19.94 kB / 0.5084 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0586/0.9144, allocations: 9.689 MB / 0.5179 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9144, allocations: 0 / 0.5179 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/0.9322, allocations: 1.998 MB / 0.5198 GB, free: 1.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/0.9329, allocations: 192.3 kB / 0.52 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.9332, allocations: 12 kB / 0.52 GB, free: 1.691 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.9343, allocations: 19.98 kB / 0.5201 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/0.9346, allocations: 52.48 kB / 0.5201 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.611e-05/0.9348, allocations: 19.98 kB / 0.5201 GB, free: 1.602 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.9358, allocations: 345.5 kB / 0.5205 GB, free: 1.266 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.9358, allocations: 4.062 kB / 0.5205 GB, free: 1.262 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002925/0.9388, allocations: 240 kB / 0.5207 GB, free: 1.027 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (machine.motor.phi_el,machine.motor.w_el) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 23 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 8,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.3695/1.308, allocations: 2.864 MB / 0.5235 GB, free: 130.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003678/1.312, allocations: 1.382 MB / 0.5248 GB, free: 130.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.312, allocations: 0 / 0.5248 GB, free: 130.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002916/1.315, allocations: 1.051 MB / 0.5259 GB, free: 129.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/1.317, allocations: 162.4 kB / 0.526 GB, free: 129.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/1.321, allocations: 1.475 MB / 0.5275 GB, free: 129.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000957/1.322, allocations: 1.072 MB / 0.5285 GB, free: 128.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007622/1.323, allocations: 103.8 kB / 0.5286 GB, free: 128.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/1.323, allocations: 249.6 kB / 0.5288 GB, free: 128.5 MB / 458.7 MB Notification: Performance of SimCode: time 9.82e-07/1.323, allocations: 3.625 kB / 0.5288 GB, free: 128.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09162/1.415, allocations: 20.33 MB / 0.5487 GB, free: 127.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/1.415, allocations: 192.6 kB / 0.5489 GB, free: 127.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/4.792, allocations: 0 / 0.5489 GB, free: 127.2 MB / 458.7 MB