Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.248e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2974, allocations: 44.5 MB / 294.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.4718, allocations: 98.9 MB / 393.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.4722, allocations: 83.95 kB / 393.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4436/0.9159, allocations: 40.87 MB / 434.1 MB, free: 92.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.9159, allocations: 0 / 434.1 MB, free: 92.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002163/0.9162, allocations: 51.28 kB / 434.1 MB, free: 92.12 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006981/0.9232, allocations: 1.991 MB / 436.1 MB, free: 91.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.9232, allocations: 9.016 kB / 436.1 MB, free: 91.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.9247, allocations: 272.5 kB / 436.4 MB, free: 91.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/0.929, allocations: 1.365 MB / 437.8 MB, free: 90.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.9292, allocations: 61.69 kB / 437.8 MB, free: 90.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007596/0.93, allocations: 123.6 kB / 437.9 MB, free: 90.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00531/0.9353, allocations: 1.739 MB / 439.7 MB, free: 90.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00623/0.9416, allocations: 2.106 MB / 441.8 MB, free: 90.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.553e-05/0.9417, allocations: 7.812 kB / 441.8 MB, free: 90.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002369/0.942, allocations: 0 / 441.8 MB, free: 90.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.9421, allocations: 82.83 kB / 441.9 MB, free: 90.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.959, allocations: 7.463 MB / 449.3 MB, free: 87.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.9615, allocations: 1.328 MB / 450.7 MB, free: 86.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.9635, allocations: 0.8549 MB / 451.5 MB, free: 86.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/0.9639, allocations: 136.8 kB / 451.6 MB, free: 86.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.964, allocations: 55.62 kB / 451.7 MB, free: 85.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=111): time 4.328e-06/0.964, allocations: 0 / 451.7 MB, free: 85.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=127): time 0.01169/0.9757, allocations: 4.207 MB / 455.9 MB, free: 84.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.9758, allocations: 67.03 kB / 456 MB, free: 84.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.9775, allocations: 0.8922 MB / 456.9 MB, free: 83.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002353/0.9778, allocations: 28.89 kB / 456.9 MB, free: 83.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/0.9784, allocations: 0.8834 MB / 457.8 MB, free: 83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.9788, allocations: 428.1 kB / 458.2 MB, free: 82.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.979, allocations: 3 kB / 458.2 MB, free: 82.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.9791, allocations: 366.8 kB / 458.6 MB, free: 82.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.9804, allocations: 0.625 MB / 459.2 MB, free: 82.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.9818, allocations: 0.931 MB / 460.1 MB, free: 81.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.9834, allocations: 0.7784 MB / 460.9 MB, free: 81.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.9834, allocations: 3.594 kB / 460.9 MB, free: 81.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005012/0.9885, allocations: 2.126 MB / 463 MB, free: 80.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.9885, allocations: 9.875 kB / 463 MB, free: 80.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.9886, allocations: 14.19 kB / 463 MB, free: 80.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.9903, allocations: 497.1 kB / 463.5 MB, free: 80.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/0.9928, allocations: 327.5 kB / 463.9 MB, free: 80.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008201/1.001, allocations: 6.344 MB / 470.2 MB, free: 74.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.003, allocations: 60.5 kB / 470.3 MB, free: 74.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/1.003, allocations: 59.61 kB / 470.3 MB, free: 74.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003388/1.003, allocations: 132.6 kB / 470.4 MB, free: 73.98 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004318/1.008, allocations: 1.849 MB / 472.3 MB, free: 72.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/1.008, allocations: 130.4 kB / 472.4 MB, free: 72.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004694/1.013, allocations: 1.972 MB / 474.4 MB, free: 70.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.013, allocations: 12 kB / 474.4 MB, free: 70.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.013, allocations: 11.95 kB / 474.4 MB, free: 70.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/1.013, allocations: 6.188 kB / 474.4 MB, free: 70.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009968/1.023, allocations: 3.95 MB / 478.4 MB, free: 67.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.023, allocations: 0 / 478.4 MB, free: 67.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/1.025, allocations: 227.5 kB / 478.6 MB, free: 67.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/1.027, allocations: 0.538 MB / 479.1 MB, free: 66.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/1.027, allocations: 15.94 kB / 479.1 MB, free: 66.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009552/1.037, allocations: 7.839 MB / 487 MB, free: 58.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.037, allocations: 6.25 kB / 487 MB, free: 58.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006454/1.044, allocations: 3.033 MB / 490 MB, free: 55.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.045, allocations: 347.4 kB / 490.4 MB, free: 55.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/1.045, allocations: 19.98 kB / 490.4 MB, free: 55.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/1.047, allocations: 47.94 kB / 490.4 MB, free: 55.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003754/1.047, allocations: 105.1 kB / 490.5 MB, free: 55.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.047, allocations: 51.11 kB / 490.6 MB, free: 55.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001265/1.049, allocations: 0.6729 MB / 491.3 MB, free: 54.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.049, allocations: 0 / 491.3 MB, free: 54.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002312/1.051, allocations: 404 kB / 491.7 MB, free: 54.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007048/1.058, allocations: 4.369 MB / 496 MB, free: 49.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004437/1.063, allocations: 2.206 MB / 498.2 MB, free: 47.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.063, allocations: 0 / 498.2 MB, free: 47.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003151/1.066, allocations: 1.507 MB / 499.7 MB, free: 45.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/1.069, allocations: 300.8 kB / 0.4883 GB, free: 45.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009893/1.078, allocations: 3.85 MB / 0.4921 GB, free: 41.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.08, allocations: 1.69 MB / 0.4937 GB, free: 40.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001738/1.082, allocations: 315.1 kB / 0.494 GB, free: 39.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.083, allocations: 0.7135 MB / 0.4947 GB, free: 39 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/1.083, allocations: 0 / 0.4947 GB, free: 39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/1.188, allocations: 34.37 MB / 0.5283 GB, free: 4.664 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/1.188, allocations: 185 kB / 0.5285 GB, free: 4.465 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.632/4.82, allocations: 3.938 kB / 0.5285 GB, free: 4.461 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat