Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.038e-05, allocations: 0 / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4955/0.6071, allocations: 105.9 MB / 448.5 MB, free: 4.723 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.6075, allocations: 90.56 kB / 448.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2107/0.8182, allocations: 46.29 MB / 494.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.8183, allocations: 0 / 494.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002992/0.8186, allocations: 67.88 kB / 495 MB, free: 10.13 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.00894/0.8276, allocations: 2.251 MB / 497.2 MB, free: 7.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.236e-05/0.8277, allocations: 12.03 kB / 497.2 MB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/0.829, allocations: 312 kB / 497.5 MB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.8308, allocations: 300.7 kB / 497.8 MB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/0.8369, allocations: 1.585 MB / 499.4 MB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.8372, allocations: 160.2 kB / 499.6 MB, free: 5.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009193/0.8381, allocations: 215.9 kB / 499.8 MB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009281/0.8475, allocations: 2.682 MB / 0.4907 GB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.8476, allocations: 11.91 kB / 0.4907 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006644/0.8483, allocations: 88 kB / 0.4908 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.8485, allocations: 96.17 kB / 0.4909 GB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00881/0.8574, allocations: 2.109 MB / 0.4929 GB, free: 56 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02585/0.8833, allocations: 8.624 MB / 0.5013 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/0.8872, allocations: 1.671 MB / 0.503 GB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.8894, allocations: 0.7809 MB / 0.5037 GB, free: 4.613 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005015/0.8899, allocations: 223.1 kB / 0.5039 GB, free: 4.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.89, allocations: 43.56 kB / 0.504 GB, free: 4.305 MB / 426.7 MB Notification: Performance of pre-optimization done (n=104): time 4.278e-06/0.89, allocations: 3.938 kB / 0.504 GB, free: 4.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.02534/0.9154, allocations: 5.982 MB / 0.5098 GB, free: 14.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.9155, allocations: 64.41 kB / 0.5099 GB, free: 14.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/0.9187, allocations: 1.237 MB / 0.5111 GB, free: 12.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003419/0.919, allocations: 45.7 kB / 0.5111 GB, free: 12.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.9202, allocations: 1.022 MB / 0.5121 GB, free: 11.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006942/0.9209, allocations: 445.7 kB / 0.5126 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.9211, allocations: 24 kB / 0.5126 GB, free: 11.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.9213, allocations: 369.9 kB / 0.5129 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.9232, allocations: 0.699 MB / 0.5136 GB, free: 10.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.9255, allocations: 1.064 MB / 0.5147 GB, free: 9.109 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/0.9279, allocations: 0.8716 MB / 0.5155 GB, free: 8.242 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.9279, allocations: 8 kB / 0.5155 GB, free: 8.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007523/0.9355, allocations: 2.473 MB / 0.5179 GB, free: 5.742 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.9355, allocations: 12.25 kB / 0.518 GB, free: 5.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.9356, allocations: 12 kB / 0.518 GB, free: 5.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/0.9383, allocations: 0.5801 MB / 0.5185 GB, free: 5.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/0.9411, allocations: 335.5 kB / 0.5189 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3104/1.251, allocations: 6.323 MB / 0.525 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/1.254, allocations: 115.5 kB / 0.5251 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/1.254, allocations: 59.25 kB / 0.5252 GB, free: 114.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 155 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004324/1.255, allocations: 183.7 kB / 0.5254 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006412/1.256, allocations: 168.5 kB / 0.5255 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007762/1.263, allocations: 2.288 MB / 0.5278 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/1.263, allocations: 12.78 kB / 0.5278 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.196e-05/1.263, allocations: 8.125 kB / 0.5278 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/1.264, allocations: 7.047 kB / 0.5278 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/1.279, allocations: 4.722 MB / 0.5324 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/1.279, allocations: 6.156 kB / 0.5324 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/1.281, allocations: 211 kB / 0.5326 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003253/1.284, allocations: 0.6365 MB / 0.5332 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003132/1.285, allocations: 34.41 kB / 0.5333 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/1.3, allocations: 8.049 MB / 0.5411 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.3, allocations: 2.344 kB / 0.5411 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00838/1.309, allocations: 3.426 MB / 0.5445 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.31, allocations: 399 kB / 0.5449 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/1.311, allocations: 38.56 kB / 0.5449 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.312, allocations: 87.95 kB / 0.545 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/1.313, allocations: 108.8 kB / 0.5451 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.313, allocations: 40.33 kB / 0.5451 GB, free: 109.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002158/1.315, allocations: 0.9409 MB / 0.546 GB, free: 109 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.315, allocations: 0 / 0.546 GB, free: 109 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002818/1.318, allocations: 0.53 MB / 0.5466 GB, free: 109 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009084/1.327, allocations: 4.855 MB / 0.5513 GB, free: 106.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005815/1.333, allocations: 2.224 MB / 0.5535 GB, free: 105.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.333, allocations: 0 / 0.5535 GB, free: 105.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003932/1.337, allocations: 1.439 MB / 0.5549 GB, free: 105.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/1.34, allocations: 377.4 kB / 0.5552 GB, free: 105.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/1.353, allocations: 4.28 MB / 0.5594 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/1.355, allocations: 1.861 MB / 0.5612 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002043/1.357, allocations: 360.8 kB / 0.5616 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/1.359, allocations: 0.8175 MB / 0.5624 GB, free: 101.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.855e-06/1.359, allocations: 0 / 0.5624 GB, free: 101.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/1.473, allocations: 44.23 MB / 0.6056 GB, free: 80.74 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/1.474, allocations: 200.9 kB / 0.6058 GB, free: 80.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.051/5.525, allocations: 4.062 kB / 0.6058 GB, free: 80.51 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat does not exist to compare? outputFormat=mat