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.869/1.869, allocations: 171.2 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.297e-05, allocations: 4 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2985, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.4657, allocations: 98.01 MB / 356.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.466, allocations: 83.95 kB / 356.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4232/0.8892, allocations: 48.63 MB / 405.1 MB, free: 70.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.8893, allocations: 0 / 405.1 MB, free: 70.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002204/0.8895, allocations: 63.88 kB / 405.1 MB, free: 70.6 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.007595/0.8971, allocations: 2.328 MB / 407.5 MB, free: 68.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.8972, allocations: 12.03 kB / 407.5 MB, free: 68.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.8987, allocations: 308.6 kB / 407.8 MB, free: 67.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004464/0.9032, allocations: 1.598 MB / 409.4 MB, free: 66.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/0.9033, allocations: 72.34 kB / 409.4 MB, free: 66.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005138/0.9038, allocations: 135.9 kB / 409.6 MB, free: 66.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005577/0.9094, allocations: 2.075 MB / 411.6 MB, free: 63.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006054/0.9155, allocations: 2.496 MB / 414.1 MB, free: 61.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.788e-05/0.9157, allocations: 7.906 kB / 414.1 MB, free: 61.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.9159, allocations: 4 kB / 414.1 MB, free: 61.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.9161, allocations: 100.3 kB / 414.2 MB, free: 61.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.9359, allocations: 8.639 MB / 422.9 MB, free: 52.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.9388, allocations: 1.643 MB / 424.5 MB, free: 50.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.9404, allocations: 0.7777 MB / 425.3 MB, free: 49.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/0.9409, allocations: 137.7 kB / 425.4 MB, free: 49.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.9409, allocations: 47.88 kB / 425.5 MB, free: 49.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=108): time 3.677e-06/0.9409, allocations: 0 / 425.5 MB, free: 49.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01414/0.9551, allocations: 4.881 MB / 430.4 MB, free: 44.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.9551, allocations: 68.72 kB / 430.4 MB, free: 44.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.9572, allocations: 1.045 MB / 431.5 MB, free: 43.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.9574, allocations: 25.7 kB / 431.5 MB, free: 43.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007169/0.9581, allocations: 1.091 MB / 432.6 MB, free: 42.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.9585, allocations: 441.4 kB / 433 MB, free: 42.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.9587, allocations: 0 / 433 MB, free: 42.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9588, allocations: 369.9 kB / 433.4 MB, free: 41.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.9602, allocations: 0.6873 MB / 434.1 MB, free: 40.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.9619, allocations: 1.107 MB / 435.2 MB, free: 39.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.9638, allocations: 0.869 MB / 436.1 MB, free: 38.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.9638, allocations: 4 kB / 436.1 MB, free: 38.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006021/0.9698, allocations: 2.422 MB / 438.5 MB, free: 36.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.9699, allocations: 8 kB / 438.5 MB, free: 36.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.97, allocations: 16.28 kB / 438.5 MB, free: 36.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/0.9723, allocations: 0.5802 MB / 439.1 MB, free: 35.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/0.9749, allocations: 355.4 kB / 439.4 MB, free: 35.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.9856, allocations: 6.406 MB / 445.8 MB, free: 28.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.9878, allocations: 83.84 kB / 445.9 MB, free: 28.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.988, allocations: 72.05 kB / 446 MB, free: 28.64 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 (169): * Single equations (assignments): 166 * 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.0003649/0.9884, allocations: 141.9 kB / 446.1 MB, free: 28.5 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004997/0.9934, allocations: 2.05 MB / 448.2 MB, free: 26.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/0.9939, allocations: 158.1 kB / 448.3 MB, free: 26.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005566/0.9995, allocations: 2.202 MB / 450.5 MB, free: 24.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.9995, allocations: 12 kB / 450.5 MB, free: 24.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.9996, allocations: 8 kB / 450.6 MB, free: 24.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.9996, allocations: 7.969 kB / 450.6 MB, free: 24.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.011, allocations: 4.463 MB / 455 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/1.011, allocations: 4.188 kB / 455 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.013, allocations: 223.7 kB / 455.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/1.016, allocations: 0.6351 MB / 455.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/1.016, allocations: 19.98 kB / 455.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/1.03, allocations: 8.061 MB / 464 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.03, allocations: 7.938 kB / 464 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/1.041, allocations: 3.402 MB / 467.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/1.042, allocations: 391 kB / 467.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004287/1.043, allocations: 8 kB / 467.8 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.044, allocations: 79.89 kB / 467.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/1.045, allocations: 105 kB / 467.9 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.045, allocations: 39.98 kB / 468 MB, free: 6.012 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001522/1.047, allocations: 0.7808 MB / 468.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.047, allocations: 4 kB / 468.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002607/1.049, allocations: 479.9 kB / 469.2 MB, free: 4.758 MB / 314.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 (102): * Single equations (assignments): 99 * 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.008098/1.057, allocations: 4.925 MB / 474.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006045/1.063, allocations: 2.212 MB / 476.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.063, allocations: 256 / 476.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004158/1.068, allocations: 1.443 MB / 477.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.071, allocations: 342.4 kB / 478.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/1.083, allocations: 4.266 MB / 482.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/1.086, allocations: 1.922 MB / 484.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002105/1.088, allocations: 357.7 kB / 484.7 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001887/1.09, allocations: 0.8781 MB / 485.6 MB, free: 4.129 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/1.09, allocations: 0 / 485.6 MB, free: 4.129 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3518/1.442, allocations: 39.67 MB / 0.5129 GB, free: 93.29 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/1.442, allocations: 174.2 kB / 0.5131 GB, free: 93.1 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.062/5.505, allocations: 0 / 0.5131 GB, free: 93.1 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