Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.29e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2687, allocations: 38.78 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.4823, allocations: 103 MB / 366.8 MB, free: 2.668 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.4826, allocations: 87.94 kB / 366.9 MB, free: 2.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.444/0.9266, allocations: 56.33 MB / 423.3 MB, free: 52.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.9267, allocations: 0 / 423.3 MB, free: 52.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003226/0.927, allocations: 83.88 kB / 423.3 MB, free: 52.01 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: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.01005/0.9371, allocations: 2.845 MB / 426.2 MB, free: 49.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.9372, allocations: 8.031 kB / 426.2 MB, free: 49.09 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001412/0.9386, allocations: 409 kB / 426.6 MB, free: 48.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.9406, allocations: 395.6 kB / 427 MB, free: 48.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006091/0.9467, allocations: 1.914 MB / 428.9 MB, free: 46.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.947, allocations: 213.7 kB / 429.1 MB, free: 46.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/0.9481, allocations: 291.9 kB / 429.4 MB, free: 45.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.9589, allocations: 3.598 MB / 433 MB, free: 42.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001646/0.9591, allocations: 7.984 kB / 433 MB, free: 42.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004813/0.9596, allocations: 124 kB / 433.1 MB, free: 41.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.9598, allocations: 129.5 kB / 433.2 MB, free: 41.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00913/0.969, allocations: 2.86 MB / 436.1 MB, free: 38.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02884/0.9978, allocations: 11.53 MB / 447.6 MB, free: 27.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/1.001, allocations: 1.908 MB / 449.5 MB, free: 25.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/1.003, allocations: 0.9246 MB / 450.5 MB, free: 24.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/1.004, allocations: 142 kB / 450.6 MB, free: 23.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/1.004, allocations: 43.56 kB / 450.6 MB, free: 23.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=126): time 3.897e-06/1.004, allocations: 0 / 450.6 MB, free: 23.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=147): time 0.02014/1.024, allocations: 6.33 MB / 457 MB, free: 17.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/1.024, allocations: 68.72 kB / 457 MB, free: 17.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/1.027, allocations: 1.541 MB / 458.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/1.027, allocations: 49.7 kB / 458.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009986/1.029, allocations: 1.381 MB / 460 MB, free: 14.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005182/1.029, allocations: 0.4967 MB / 460.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/1.029, allocations: 40 kB / 460.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/1.029, allocations: 381.8 kB / 460.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/1.031, allocations: 0.8512 MB / 461.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/1.034, allocations: 1.381 MB / 463.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/1.036, allocations: 1.094 MB / 464.2 MB, free: 9.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.036, allocations: 4 kB / 464.3 MB, free: 9.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.00716/1.043, allocations: 2.965 MB / 467.2 MB, free: 6.949 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/1.043, allocations: 13.41 kB / 467.2 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/1.043, allocations: 16.44 kB / 467.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/1.045, allocations: 0.5489 MB / 467.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/1.048, allocations: 435.3 kB / 468.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/1.059, allocations: 6.257 MB / 474.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/1.062, allocations: 132 kB / 474.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/1.062, allocations: 87.98 kB / 474.7 MB, free: 15.19 MB / 330.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 (207): * Single equations (assignments): 204 * 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.0005006/1.063, allocations: 216.3 kB / 474.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005122/1.063, allocations: 209.5 kB / 475.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008099/1.071, allocations: 2.601 MB / 477.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/1.071, allocations: 16 kB / 477.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/1.071, allocations: 4 kB / 477.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.086e-05/1.072, allocations: 7.969 kB / 477.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.089, allocations: 5.601 MB / 483.3 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/1.089, allocations: 4.344 kB / 483.3 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.092, allocations: 251.6 kB / 483.6 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/1.095, allocations: 0.5844 MB / 484.2 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003834/1.095, allocations: 39.92 kB / 484.2 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/1.11, allocations: 7.962 MB / 492.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.11, allocations: 11.94 kB / 492.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.122, allocations: 3.992 MB / 496.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/1.124, allocations: 470.3 kB / 496.6 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006709/1.124, allocations: 35.98 kB / 496.7 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/1.126, allocations: 95.88 kB / 496.8 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004555/1.127, allocations: 101.2 kB / 496.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.127, allocations: 47.98 kB / 496.9 MB, free: 8.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003095/1.13, allocations: 1.177 MB / 498.1 MB, free: 7.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.13, allocations: 0 / 498.1 MB, free: 7.023 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003473/1.134, allocations: 0.6016 MB / 498.7 MB, free: 6.422 MB / 346.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 (122): * Single equations (assignments): 119 * 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.01232/1.146, allocations: 5.553 MB / 0.4924 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.245/1.391, allocations: 2.557 MB / 0.4949 GB, free: 84.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.391, allocations: 0 / 0.4949 GB, free: 84.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003719/1.395, allocations: 1.536 MB / 0.4964 GB, free: 84.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/1.399, allocations: 462.9 kB / 0.4969 GB, free: 84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.414, allocations: 5.225 MB / 0.502 GB, free: 82.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/1.417, allocations: 2.248 MB / 0.5042 GB, free: 82.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002812/1.42, allocations: 482.2 kB / 0.5046 GB, free: 82.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00248/1.422, allocations: 1.089 MB / 0.5057 GB, free: 82.13 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/1.422, allocations: 0 / 0.5057 GB, free: 82.13 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1647/1.587, allocations: 53.13 MB / 0.5576 GB, free: 53.63 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/1.587, allocations: 220.9 kB / 0.5578 GB, free: 53.4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.647/6.234, allocations: 0 / 0.5578 GB, free: 53.4 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_VoltageSource_res.mat does not exist to compare? outputFormat=mat