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 1.936/1.936, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.952e-05, allocations: 8 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09022/0.09027, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5309, allocations: 108.3 MB / 408.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5312, allocations: 83.8 kB / 408.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.235/0.7662, allocations: 58.27 MB / 466.6 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.7663, allocations: 4 kB / 466.6 MB, free: 1.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003557/0.7667, allocations: 79.88 kB / 466.7 MB, free: 1.695 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.01052/0.7772, allocations: 2.873 MB / 469.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.7773, allocations: 8.031 kB / 469.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001425/0.7787, allocations: 408.9 kB / 470 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.7807, allocations: 395.6 kB / 470.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007579/0.7883, allocations: 2.172 MB / 472.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.7886, allocations: 209.7 kB / 472.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.7897, allocations: 287.9 kB / 473.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.8001, allocations: 3.551 MB / 476.6 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.8003, allocations: 11.84 kB / 476.6 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004468/0.8007, allocations: 124 kB / 476.7 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/0.801, allocations: 129.5 kB / 476.9 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008271/0.8092, allocations: 2.83 MB / 479.7 MB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03202/0.8413, allocations: 11.64 MB / 491.3 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/0.8458, allocations: 1.915 MB / 493.2 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/0.8482, allocations: 0.9177 MB / 494.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005175/0.8488, allocations: 227.4 kB / 494.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.8488, allocations: 43.88 kB / 494.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.887e-06/0.8489, allocations: 4 kB / 494.4 MB, free: 5.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=148): time 0.02362/0.8725, allocations: 6.356 MB / 0.489 GB, free: 14.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.8726, allocations: 64.72 kB / 0.4891 GB, free: 14.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/0.8772, allocations: 1.708 MB / 0.4908 GB, free: 12.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004116/0.8776, allocations: 57.64 kB / 0.4908 GB, free: 12.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.8792, allocations: 1.397 MB / 0.4922 GB, free: 11.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008981/0.8801, allocations: 0.5084 MB / 0.4927 GB, free: 10.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.8804, allocations: 36 kB / 0.4927 GB, free: 10.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.8806, allocations: 381.8 kB / 0.4931 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.8828, allocations: 0.8513 MB / 0.4939 GB, free: 9.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/0.8855, allocations: 1.377 MB / 0.4953 GB, free: 8.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.8883, allocations: 1.09 MB / 0.4963 GB, free: 7.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/0.8883, allocations: 7.938 kB / 0.4963 GB, free: 7 MB / 394.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.008257/0.8966, allocations: 2.938 MB / 0.4992 GB, free: 4.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.8966, allocations: 16.03 kB / 0.4992 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/0.8967, allocations: 16 kB / 0.4992 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/0.899, allocations: 0.5489 MB / 0.4998 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/0.9022, allocations: 435.3 kB / 0.5002 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.9141, allocations: 6.269 MB / 0.5063 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/0.917, allocations: 135.7 kB / 0.5064 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.9173, allocations: 83.98 kB / 0.5065 GB, free: 12.27 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.000482/0.9178, allocations: 212.4 kB / 0.5067 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005387/0.9183, allocations: 205.5 kB / 0.5069 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007344/0.9257, allocations: 2.621 MB / 0.5095 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.9257, allocations: 16 kB / 0.5095 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.9258, allocations: 4 kB / 0.5095 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.9258, allocations: 7.969 kB / 0.5095 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.9419, allocations: 5.688 MB / 0.5151 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/0.942, allocations: 7.984 kB / 0.5151 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/0.9441, allocations: 247.6 kB / 0.5153 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/0.9468, allocations: 0.5802 MB / 0.5159 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.947, allocations: 44.06 kB / 0.5159 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.273/1.22, allocations: 7.969 MB / 0.5237 GB, free: 96.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.22, allocations: 3.188 kB / 0.5237 GB, free: 96.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.23, allocations: 4.007 MB / 0.5276 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.232, allocations: 487.8 kB / 0.5281 GB, free: 96.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006852/1.233, allocations: 37.03 kB / 0.5281 GB, free: 96.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/1.235, allocations: 103.8 kB / 0.5282 GB, free: 96.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004352/1.236, allocations: 107.6 kB / 0.5283 GB, free: 96.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.236, allocations: 41.34 kB / 0.5284 GB, free: 96.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003666/1.239, allocations: 1.305 MB / 0.5296 GB, free: 96.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.24, allocations: 1.969 kB / 0.5296 GB, free: 96.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003688/1.243, allocations: 0.6074 MB / 0.5302 GB, free: 96.08 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.01107/1.254, allocations: 5.578 MB / 0.5357 GB, free: 94.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005895/1.26, allocations: 2.505 MB / 0.5381 GB, free: 93.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.26, allocations: 5.062 kB / 0.5381 GB, free: 93.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003613/1.264, allocations: 1.535 MB / 0.5396 GB, free: 93.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/1.268, allocations: 492.2 kB / 0.5401 GB, free: 93.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/1.284, allocations: 5.353 MB / 0.5453 GB, free: 92.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003179/1.287, allocations: 2.269 MB / 0.5475 GB, free: 91.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002734/1.29, allocations: 0.4947 MB / 0.548 GB, free: 91.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002479/1.292, allocations: 1.129 MB / 0.5491 GB, free: 91.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/1.293, allocations: 0 / 0.5491 GB, free: 91.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1631/1.456, allocations: 55.38 MB / 0.6032 GB, free: 68.34 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.456, allocations: 220 kB / 0.6034 GB, free: 68.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.444/5.9, allocations: 0 / 0.6034 GB, free: 68.11 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