Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.361/2.361, allocations: 233 MB / 246.1 MB, free: 15.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.813e-05, allocations: 4 kB / 302.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 53.24 MB / 355.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6191, allocations: 96.38 MB / 451.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002453/0.6216, allocations: 0.6869 MB / 452.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06565/0.6873, allocations: 14.53 MB / 467.1 MB, free: 5.992 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.479e-06/0.6873, allocations: 0 / 467.1 MB, free: 5.992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.835e-05/0.6874, allocations: 15.92 kB / 467.1 MB, free: 5.977 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002017/0.6894, allocations: 0.7523 MB / 467.9 MB, free: 5.172 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.6895, allocations: 12.03 kB / 467.9 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.6897, allocations: 78.47 kB / 468 MB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.6899, allocations: 55.34 kB / 468 MB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/0.6924, allocations: 0.6794 MB / 468.7 MB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.6925, allocations: 32.77 kB / 468.7 MB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.6926, allocations: 40.52 kB / 468.8 MB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.6937, allocations: 450.7 kB / 469.2 MB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.6937, allocations: 3.938 kB / 469.2 MB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.6938, allocations: 15.94 kB / 469.2 MB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.6938, allocations: 8 kB / 469.3 MB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.6946, allocations: 261.4 kB / 469.5 MB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.6982, allocations: 1.868 MB / 471.4 MB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.699, allocations: 244.1 kB / 471.6 MB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.6992, allocations: 86.95 kB / 471.7 MB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.6993, allocations: 4.188 kB / 471.7 MB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004008/0.6997, allocations: 166.4 kB / 471.9 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.776e-06/0.6997, allocations: 4 kB / 471.9 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.002977/0.7027, allocations: 1.064 MB / 472.9 MB, free: 15.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.882e-05/0.7028, allocations: 136.5 kB / 473.1 MB, free: 15.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.7035, allocations: 338.8 kB / 473.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.7036, allocations: 33.77 kB / 473.4 MB, free: 15.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.7038, allocations: 263.6 kB / 473.7 MB, free: 14.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.704, allocations: 98.8 kB / 473.8 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.704, allocations: 4 kB / 473.8 MB, free: 14.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.7042, allocations: 358.8 kB / 474.1 MB, free: 14.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.7045, allocations: 80.73 kB / 474.2 MB, free: 14.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.7049, allocations: 209.7 kB / 474.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.7053, allocations: 151.4 kB / 474.6 MB, free: 14.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7053, allocations: 0 / 474.6 MB, free: 14.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001498/0.7068, allocations: 449.4 kB / 475 MB, free: 13.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.7069, allocations: 33.7 kB / 475 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.7069, allocations: 4 kB / 475 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/0.7076, allocations: 93.25 kB / 475.1 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.7082, allocations: 67.91 kB / 475.2 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.7116, allocations: 1.815 MB / 477 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.7122, allocations: 19.98 kB / 477 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.7123, allocations: 16 kB / 477.1 MB, free: 11.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (39): * Single equations (assignments): 37 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.7124, allocations: 131.6 kB / 477.2 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.635e-05/0.7126, allocations: 43.52 kB / 477.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.7136, allocations: 305.5 kB / 477.5 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.7136, allocations: 4 kB / 477.5 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7136, allocations: 0 / 477.5 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.7137, allocations: 7.969 kB / 477.5 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.7156, allocations: 0.7688 MB / 478.3 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7156, allocations: 0 / 478.3 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.7162, allocations: 51.91 kB / 478.4 MB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/0.7166, allocations: 52.81 kB / 478.4 MB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.7166, allocations: 8 kB / 478.4 MB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.7185, allocations: 1.425 MB / 479.8 MB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.7185, allocations: 7.938 kB / 479.9 MB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.7198, allocations: 0.5205 MB / 480.4 MB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.7201, allocations: 136.6 kB / 480.5 MB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.7201, allocations: 4 kB / 480.5 MB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.7205, allocations: 19.98 kB / 480.5 MB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.7207, allocations: 19.91 kB / 480.5 MB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.7207, allocations: 15.98 kB / 480.6 MB, free: 7.602 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004855/0.7212, allocations: 269.2 kB / 480.8 MB, free: 7.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7212, allocations: 0 / 480.8 MB, free: 7.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008346/0.7221, allocations: 119.9 kB / 480.9 MB, free: 7.223 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.motor.phi_el,dcm_ser.motor.w_el,dcm_ser.motor.i,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 (25): * 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: 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.002592/0.7247, allocations: 1.447 MB / 482.4 MB, free: 5.797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.7262, allocations: 441.7 kB / 482.8 MB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7262, allocations: 0 / 482.8 MB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006523/0.7269, allocations: 233.7 kB / 483 MB, free: 5.105 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.7282, allocations: 105.7 kB / 483.2 MB, free: 5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.7321, allocations: 0.9257 MB / 484.1 MB, free: 4.031 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/0.733, allocations: 0.8626 MB / 484.9 MB, free: 3.141 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006129/0.7336, allocations: 63.33 kB / 485 MB, free: 3.074 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.7341, allocations: 159.4 kB / 485.2 MB, free: 2.918 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7341, allocations: 0 / 485.2 MB, free: 2.918 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0798/0.8139, allocations: 10.1 MB / 495.3 MB, free: 8.832 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.8142, allocations: 223.9 kB / 495.5 MB, free: 8.559 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/3.711, allocations: 0 / 495.5 MB, free: 8.559 MB / 426.7 MB