Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.019e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09359, allocations: 44.52 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5432, allocations: 108.3 MB / 408.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5436, allocations: 81.86 kB / 408.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2482/0.7918, allocations: 58.28 MB / 466.6 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.749e-06/0.7919, allocations: 4 kB / 466.6 MB, free: 1.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004028/0.7923, allocations: 83.86 kB / 466.7 MB, free: 1.715 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.0114/0.8037, allocations: 2.869 MB / 469.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.8038, allocations: 12.03 kB / 469.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001707/0.8055, allocations: 408.9 kB / 470 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.8078, allocations: 395.6 kB / 470.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008664/0.8166, allocations: 2.164 MB / 472.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/0.817, allocations: 217.7 kB / 472.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.8184, allocations: 287.9 kB / 473 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.8321, allocations: 3.582 MB / 476.6 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/0.8324, allocations: 11.84 kB / 476.6 MB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.8336, allocations: 124 kB / 476.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/0.8339, allocations: 133.5 kB / 476.9 MB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.8463, allocations: 2.86 MB / 479.7 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03405/0.8804, allocations: 11.63 MB / 491.4 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/0.8848, allocations: 1.936 MB / 493.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002425/0.8873, allocations: 0.9255 MB / 494.2 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005251/0.8878, allocations: 227.4 kB / 494.4 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.8879, allocations: 43.88 kB / 494.5 MB, free: 5.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.938e-06/0.8879, allocations: 0 / 494.5 MB, free: 5.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=148): time 0.02306/0.911, allocations: 6.359 MB / 0.4891 GB, free: 14.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.9111, allocations: 64.72 kB / 0.4892 GB, free: 14.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/0.9154, allocations: 1.704 MB / 0.4908 GB, free: 12.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004257/0.9159, allocations: 53.69 kB / 0.4909 GB, free: 12.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.9175, allocations: 1.405 MB / 0.4923 GB, free: 11.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000868/0.9183, allocations: 0.5045 MB / 0.4928 GB, free: 10.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.9185, allocations: 43.88 kB / 0.4928 GB, free: 10.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.9188, allocations: 373.9 kB / 0.4932 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.9211, allocations: 0.8513 MB / 0.494 GB, free: 9.641 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/0.9239, allocations: 1.397 MB / 0.4953 GB, free: 8.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/0.9269, allocations: 1.086 MB / 0.4964 GB, free: 6.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.496e-05/0.927, allocations: 8 kB / 0.4964 GB, free: 6.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009018/0.936, allocations: 2.98 MB / 0.4993 GB, free: 3.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.9361, allocations: 12 kB / 0.4993 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.972e-05/0.9361, allocations: 20.44 kB / 0.4994 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00244/0.9386, allocations: 0.5449 MB / 0.4999 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003384/0.942, allocations: 443.3 kB / 0.5003 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.9545, allocations: 6.258 MB / 0.5064 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/0.9574, allocations: 139.8 kB / 0.5066 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004627/0.958, allocations: 75.98 kB / 0.5066 GB, free: 12.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 205 * 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 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005173/0.9585, allocations: 220.4 kB / 0.5068 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007986/0.9593, allocations: 209.4 kB / 0.507 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008469/0.9678, allocations: 2.621 MB / 0.5096 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.104e-05/0.9679, allocations: 16 kB / 0.5096 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.9679, allocations: 7.984 kB / 0.5096 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.335e-05/0.9679, allocations: 3.984 kB / 0.5096 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/0.9854, allocations: 5.692 MB / 0.5152 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/0.9855, allocations: 8 kB / 0.5152 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/0.988, allocations: 251.6 kB / 0.5154 GB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004182/0.9922, allocations: 0.58 MB / 0.516 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003667/0.9927, allocations: 39.94 kB / 0.516 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3311/1.324, allocations: 7.976 MB / 0.5238 GB, free: 96.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.324, allocations: 3.25 kB / 0.5238 GB, free: 96.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009989/1.334, allocations: 4.003 MB / 0.5277 GB, free: 96.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.336, allocations: 493.2 kB / 0.5282 GB, free: 96.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/1.336, allocations: 36.77 kB / 0.5282 GB, free: 96.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/1.338, allocations: 96.58 kB / 0.5283 GB, free: 96.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004035/1.339, allocations: 108.5 kB / 0.5284 GB, free: 96.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.339, allocations: 44.27 kB / 0.5285 GB, free: 96.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003363/1.342, allocations: 1.307 MB / 0.5298 GB, free: 96.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.342, allocations: 0 / 0.5298 GB, free: 96.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003594/1.346, allocations: 0.6102 MB / 0.5304 GB, free: 96.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 120 * 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 {(5,76.0%) 20,(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.01092/1.357, allocations: 5.569 MB / 0.5358 GB, free: 94.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005912/1.363, allocations: 2.569 MB / 0.5383 GB, free: 93.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.363, allocations: 0 / 0.5383 GB, free: 93.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003573/1.367, allocations: 1.576 MB / 0.5398 GB, free: 93.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/1.37, allocations: 485 kB / 0.5403 GB, free: 93.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/1.385, allocations: 5.377 MB / 0.5455 GB, free: 92.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/1.388, allocations: 2.267 MB / 0.5478 GB, free: 91.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002694/1.391, allocations: 498.7 kB / 0.5482 GB, free: 91.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002487/1.393, allocations: 1.13 MB / 0.5493 GB, free: 91.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/1.393, allocations: 3.5 kB / 0.5493 GB, free: 91.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1768/1.57, allocations: 55.6 MB / 0.6036 GB, free: 68 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/1.57, allocations: 237.2 kB / 0.6039 GB, free: 67.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.452/6.022, allocations: 0 / 0.6039 GB, free: 67.75 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat does not exist to compare? outputFormat=mat