Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.254e-05, allocations: 4 kB / 225.1 MB, free: 2.23 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2765, allocations: 38.77 MB / 263.9 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.4494, allocations: 98.67 MB / 362.6 MB, free: 6.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.4497, allocations: 83.95 kB / 362.6 MB, free: 6.891 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4131/0.8629, allocations: 49.3 MB / 411.9 MB, free: 62.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.8629, allocations: 0 / 411.9 MB, free: 62.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002606/0.8632, allocations: 63.88 kB / 412 MB, free: 62.83 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 580 * Number of variables: 580 Notification: Performance of Generate backend data structure: time 0.008196/0.8714, allocations: 2.342 MB / 414.3 MB, free: 60.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.8715, allocations: 8.031 kB / 414.3 MB, free: 60.42 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001297/0.8728, allocations: 328.7 kB / 414.7 MB, free: 60.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.8746, allocations: 313.3 kB / 415 MB, free: 59.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004942/0.8796, allocations: 1.593 MB / 416.6 MB, free: 58.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.8798, allocations: 168.4 kB / 416.7 MB, free: 57.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008799/0.8807, allocations: 219.9 kB / 416.9 MB, free: 57.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008355/0.8891, allocations: 2.789 MB / 419.7 MB, free: 54.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.8892, allocations: 7.891 kB / 419.7 MB, free: 54.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003758/0.8896, allocations: 95.98 kB / 419.8 MB, free: 54.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.8898, allocations: 100.3 kB / 419.9 MB, free: 54.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00674/0.8965, allocations: 2.176 MB / 422.1 MB, free: 52.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/0.9187, allocations: 9.066 MB / 431.2 MB, free: 43.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/0.922, allocations: 1.657 MB / 432.8 MB, free: 41.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.9239, allocations: 0.8036 MB / 433.6 MB, free: 40.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004052/0.9243, allocations: 142 kB / 433.8 MB, free: 40.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.9244, allocations: 43.56 kB / 433.8 MB, free: 40.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=106): time 4.127e-06/0.9244, allocations: 0 / 433.8 MB, free: 40.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.02951/0.9539, allocations: 6.332 MB / 440.2 MB, free: 33.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.954, allocations: 64.72 kB / 440.2 MB, free: 33.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.9567, allocations: 1.262 MB / 441.5 MB, free: 32.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003423/0.9571, allocations: 45.7 kB / 441.5 MB, free: 32.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009259/0.9581, allocations: 1.092 MB / 442.6 MB, free: 31.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006512/0.9587, allocations: 449.5 kB / 443.1 MB, free: 30.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.9589, allocations: 36 kB / 443.1 MB, free: 30.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.9591, allocations: 365.9 kB / 443.4 MB, free: 30.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.9609, allocations: 0.7145 MB / 444.2 MB, free: 29.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/0.9631, allocations: 1.118 MB / 445.3 MB, free: 28.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.9652, allocations: 0.9066 MB / 446.2 MB, free: 27.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.9653, allocations: 4 kB / 446.2 MB, free: 27.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007011/0.9723, allocations: 2.559 MB / 448.7 MB, free: 25.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.9724, allocations: 12 kB / 448.8 MB, free: 25.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.9724, allocations: 12 kB / 448.8 MB, free: 25.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/0.9749, allocations: 0.5843 MB / 449.4 MB, free: 24.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/0.9776, allocations: 351.5 kB / 449.7 MB, free: 24.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.9892, allocations: 6.694 MB / 456.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.9916, allocations: 111.9 kB / 456.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/0.992, allocations: 67.98 kB / 456.6 MB, free: 16.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * 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%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004291/0.9925, allocations: 201.1 kB / 456.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005258/0.993, allocations: 169.9 kB / 456.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006441/0.9995, allocations: 2.321 MB / 459.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.9995, allocations: 16 kB / 459.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.9996, allocations: 11.95 kB / 459.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.34e-05/0.9996, allocations: 7.969 kB / 459.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/1.013, allocations: 4.829 MB / 464.1 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.013, allocations: 4.344 kB / 464.1 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/1.015, allocations: 215.7 kB / 464.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002795/1.017, allocations: 0.6391 MB / 465 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/1.018, allocations: 35.98 kB / 465 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/1.031, allocations: 8.379 MB / 473.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/1.031, allocations: 4 kB / 473.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009772/1.041, allocations: 3.507 MB / 476.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.042, allocations: 410.8 kB / 477.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/1.043, allocations: 31.98 kB / 477.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.045, allocations: 87.91 kB / 477.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004227/1.045, allocations: 108.8 kB / 477.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.045, allocations: 39.95 kB / 477.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002495/1.048, allocations: 0.9711 MB / 478.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.71e-07/1.048, allocations: 0 / 478.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003101/1.051, allocations: 0.5429 MB / 479.1 MB, free: 9.734 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * 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,72.2%) 23,(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.01094/1.062, allocations: 5.062 MB / 484.1 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006683/1.069, allocations: 2.265 MB / 486.4 MB, free: 2.262 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.069, allocations: 0 / 486.4 MB, free: 2.262 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004742/1.074, allocations: 1.45 MB / 487.9 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00392/1.077, allocations: 417 kB / 488.3 MB, free: 384 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/1.093, allocations: 4.386 MB / 492.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003572/1.096, allocations: 1.922 MB / 494.6 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002361/1.099, allocations: 370.8 kB / 494.9 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/1.101, allocations: 0.8703 MB / 495.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of SimCode: time 2.284e-06/1.101, allocations: 0 / 495.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.404/1.505, allocations: 46.73 MB / 0.5298 GB, free: 77.49 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/1.506, allocations: 213.8 kB / 0.53 GB, free: 77.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.228/5.733, allocations: 0 / 0.53 GB, free: 77.26 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat does not exist to compare? outputFormat=mat