Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.207/2.207, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.537e-05, allocations: 2.406 kB / 249.8 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5308/0.6325, allocations: 107.6 MB / 401.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/0.6329, allocations: 89.62 kB / 402 MB, free: 14.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.322/0.955, allocations: 57.48 MB / 459.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.955, allocations: 0 / 459.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004037/0.9555, allocations: 79.88 kB / 459.6 MB, free: 12.22 MB / 362.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.01264/0.9681, allocations: 2.88 MB / 462.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/0.9682, allocations: 8.031 kB / 462.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/0.9709, allocations: 399.6 kB / 462.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009229/0.9802, allocations: 2.164 MB / 465 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.9805, allocations: 92 kB / 465.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.9816, allocations: 171.9 kB / 465.3 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01032/0.992, allocations: 2.678 MB / 467.9 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/1.005, allocations: 3.172 MB / 471.1 MB, free: 408 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/1.005, allocations: 11.89 kB / 471.1 MB, free: 396 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005284/1.005, allocations: 4 kB / 471.1 MB, free: 392 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002484/1.006, allocations: 129.5 kB / 471.3 MB, free: 260 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03688/1.043, allocations: 11.1 MB / 482.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005859/1.048, allocations: 1.92 MB / 484.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/1.052, allocations: 0.9021 MB / 485.2 MB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007847/1.053, allocations: 227.4 kB / 485.4 MB, free: 1.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.452e-05/1.053, allocations: 57.58 kB / 485.5 MB, free: 1.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=133): time 7.304e-06/1.053, allocations: 0 / 485.5 MB, free: 1.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.0293/1.082, allocations: 5.57 MB / 491 MB, free: 11.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/1.083, allocations: 68.66 kB / 491.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006065/1.089, allocations: 1.461 MB / 492.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005088/1.089, allocations: 29.7 kB / 492.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002488/1.092, allocations: 1.396 MB / 494 MB, free: 8.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001314/1.093, allocations: 0.5042 MB / 494.5 MB, free: 8.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/1.093, allocations: 0 / 494.5 MB, free: 8.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003957/1.094, allocations: 382.2 kB / 494.9 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003853/1.098, allocations: 0.8278 MB / 495.7 MB, free: 7.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005025/1.103, allocations: 1.365 MB / 497.1 MB, free: 5.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005198/1.108, allocations: 1.072 MB / 498.1 MB, free: 4.574 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.151e-05/1.108, allocations: 4 kB / 498.1 MB, free: 4.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=240) (initialization): time 0.01506/1.123, allocations: 2.817 MB / 0.4892 GB, free: 1.734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/1.123, allocations: 12 kB / 0.4892 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.441e-05/1.123, allocations: 16 kB / 0.4892 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/1.127, allocations: 0.5338 MB / 0.4898 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004418/1.131, allocations: 451.3 kB / 0.4902 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.327/1.458, allocations: 5.995 MB / 0.496 GB, free: 88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/1.463, allocations: 100.5 kB / 0.4961 GB, free: 88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/1.463, allocations: 82.42 kB / 0.4962 GB, free: 88 MB / 394.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 (214): * Single equations (assignments): 211 * 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.0006816/1.464, allocations: 159.8 kB / 0.4964 GB, free: 87.89 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02936/1.493, allocations: 2.344 MB / 0.4987 GB, free: 87.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.494, allocations: 192.2 kB / 0.4988 GB, free: 87.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01646/1.511, allocations: 2.515 MB / 0.5013 GB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/1.511, allocations: 15.89 kB / 0.5013 GB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.511, allocations: 7.469 kB / 0.5013 GB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-05/1.511, allocations: 9.625 kB / 0.5013 GB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/1.53, allocations: 5.286 MB / 0.5065 GB, free: 87.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/1.53, allocations: 3.906 kB / 0.5065 GB, free: 87.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/1.533, allocations: 264.1 kB / 0.5067 GB, free: 87.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/1.536, allocations: 0.5829 MB / 0.5073 GB, free: 87.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003135/1.536, allocations: 20.88 kB / 0.5073 GB, free: 87.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/1.55, allocations: 7.667 MB / 0.5148 GB, free: 83.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.55, allocations: 6.531 kB / 0.5148 GB, free: 83.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009745/1.56, allocations: 3.965 MB / 0.5187 GB, free: 82.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.561, allocations: 479 kB / 0.5192 GB, free: 82.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005786/1.562, allocations: 11.78 kB / 0.5192 GB, free: 82.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/1.564, allocations: 84.62 kB / 0.5192 GB, free: 82.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003967/1.565, allocations: 111 kB / 0.5194 GB, free: 82.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/1.565, allocations: 45.81 kB / 0.5194 GB, free: 82.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002493/1.567, allocations: 1.091 MB / 0.5205 GB, free: 82.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.567, allocations: 0 / 0.5205 GB, free: 82.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003423/1.571, allocations: 0.5276 MB / 0.521 GB, free: 82.51 MB / 394.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 (126): * Single equations (assignments): 123 * 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.01046/1.581, allocations: 5.519 MB / 0.5264 GB, free: 80.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006047/1.587, allocations: 2.49 MB / 0.5288 GB, free: 79.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/1.587, allocations: 0 / 0.5288 GB, free: 79.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003684/1.591, allocations: 1.534 MB / 0.5303 GB, free: 78.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003953/1.595, allocations: 421.5 kB / 0.5307 GB, free: 78.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.611, allocations: 5.245 MB / 0.5358 GB, free: 76.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/1.615, allocations: 2.272 MB / 0.538 GB, free: 75.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003043/1.618, allocations: 0.494 MB / 0.5385 GB, free: 75.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002771/1.621, allocations: 1.127 MB / 0.5396 GB, free: 74.87 MB / 394.7 MB Notification: Performance of SimCode: time 1.643e-06/1.621, allocations: 4 kB / 0.5396 GB, free: 74.87 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.192/1.813, allocations: 47.64 MB / 0.5861 GB, free: 47.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004321/1.813, allocations: 188.8 kB / 0.5863 GB, free: 47.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.905/6.718, allocations: 3.938 kB / 0.5863 GB, free: 47.71 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat does not exist to compare? outputFormat=mat