Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.474/2.474, allocations: 233 MB / 246.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.327e-05, allocations: 0 / 302.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 53.23 MB / 355.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5098/0.6693, allocations: 96.89 MB / 452.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00252/0.6719, allocations: 0.6837 MB / 453.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07012/0.742, allocations: 16.11 MB / 469.2 MB, free: 3.879 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7421, allocations: 4 kB / 469.2 MB, free: 3.875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.416e-05/0.7422, allocations: 12 kB / 469.2 MB, free: 3.863 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001979/0.7441, allocations: 0.7956 MB / 470 MB, free: 3.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.7442, allocations: 8.031 kB / 470 MB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.7444, allocations: 90.52 kB / 470.1 MB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.7445, allocations: 63.25 kB / 470.2 MB, free: 2.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.7471, allocations: 0.7496 MB / 470.9 MB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/0.7472, allocations: 37.52 kB / 471 MB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.7474, allocations: 40 kB / 471 MB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.7486, allocations: 0.5127 MB / 471.5 MB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.7487, allocations: 7.984 kB / 471.5 MB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.7488, allocations: 20 kB / 471.5 MB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.7488, allocations: 12 kB / 471.6 MB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008913/0.7497, allocations: 309.3 kB / 471.9 MB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.7537, allocations: 2.074 MB / 473.9 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.7544, allocations: 233.8 kB / 474.2 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.7546, allocations: 78.92 kB / 474.2 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.7547, allocations: 7.953 kB / 474.2 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003831/0.7551, allocations: 162.4 kB / 474.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.936e-06/0.7551, allocations: 0 / 474.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002801/0.7579, allocations: 1.08 MB / 475.5 MB, free: 13.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.758, allocations: 140.4 kB / 475.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/0.7587, allocations: 367 kB / 476 MB, free: 12.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.7588, allocations: 33.7 kB / 476 MB, free: 12.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.7591, allocations: 287.6 kB / 476.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.7592, allocations: 90.97 kB / 476.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.7592, allocations: 12 kB / 476.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.7594, allocations: 354.7 kB / 476.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.7597, allocations: 88.88 kB / 476.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.7601, allocations: 224.6 kB / 477 MB, free: 11.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.7605, allocations: 141.6 kB / 477.2 MB, free: 11.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7605, allocations: 0 / 477.2 MB, free: 11.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001432/0.762, allocations: 465.2 kB / 477.6 MB, free: 10.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.762, allocations: 33.7 kB / 477.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.7621, allocations: 8 kB / 477.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.7627, allocations: 96.7 kB / 477.8 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.7633, allocations: 71.91 kB / 477.8 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.7661, allocations: 1.687 MB / 479.5 MB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.7667, allocations: 31.97 kB / 479.6 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.7667, allocations: 20 kB / 479.6 MB, free: 8.816 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.7669, allocations: 132.8 kB / 479.7 MB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.767, allocations: 43.44 kB / 479.8 MB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009283/0.7679, allocations: 278 kB / 480 MB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.768, allocations: 7.938 kB / 480 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.768, allocations: 3.953 kB / 480 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.768, allocations: 4 kB / 480 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.7698, allocations: 0.776 MB / 480.8 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7698, allocations: 0 / 480.8 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.7704, allocations: 55.97 kB / 480.9 MB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003457/0.7708, allocations: 48.81 kB / 480.9 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.7708, allocations: 15.92 kB / 480.9 MB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.7726, allocations: 1.433 MB / 482.4 MB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7726, allocations: 0 / 482.4 MB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.7738, allocations: 496.8 kB / 482.8 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.7741, allocations: 132.7 kB / 483 MB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/0.7742, allocations: 7.953 kB / 483 MB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.7746, allocations: 19.98 kB / 483 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.7747, allocations: 20.11 kB / 483 MB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.7747, allocations: 11.98 kB / 483 MB, free: 5.078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005182/0.7752, allocations: 285.2 kB / 483.3 MB, free: 4.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7753, allocations: 0 / 483.3 MB, free: 4.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008057/0.7761, allocations: 132 kB / 483.4 MB, free: 4.676 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.motor.phi_el,dcm_par.motor.w_el,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002425/0.7785, allocations: 1.404 MB / 484.8 MB, free: 3.297 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.7798, allocations: 433.3 kB / 485.3 MB, free: 2.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7798, allocations: 0 / 485.3 MB, free: 2.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.7804, allocations: 237.4 kB / 485.5 MB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.7814, allocations: 122.6 kB / 485.6 MB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.7844, allocations: 1.028 MB / 486.7 MB, free: 1.422 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.785, allocations: 0.8857 MB / 487.5 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004395/0.7854, allocations: 68.23 kB / 487.6 MB, free: 452 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.7858, allocations: 167.4 kB / 487.8 MB, free: 284 kB / 410.7 MB Notification: Performance of SimCode: time 9.51e-07/0.7858, allocations: 4 kB / 487.8 MB, free: 280 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/0.8334, allocations: 10.66 MB / 498.4 MB, free: 5.629 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003207/0.8338, allocations: 235 kB / 498.7 MB, free: 5.344 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.535, allocations: 0 / 498.7 MB, free: 5.344 MB / 426.7 MB