Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.71/1.71, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.652e-05, allocations: 7.984 kB / 225.1 MB, free: 2.125 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2554, allocations: 38.76 MB / 263.9 MB, free: 9.789 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.4385, allocations: 94.25 MB / 358.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.4389, allocations: 87.94 kB / 358.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3814/0.8203, allocations: 40.49 MB / 398.7 MB, free: 75.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.8204, allocations: 0 / 398.7 MB, free: 75.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001874/0.8206, allocations: 51.88 kB / 398.7 MB, free: 75.11 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.006455/0.827, allocations: 1.97 MB / 400.7 MB, free: 73.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.8271, allocations: 8.031 kB / 400.7 MB, free: 73.08 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008054/0.8279, allocations: 274.3 kB / 401 MB, free: 72.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.8292, allocations: 273.1 kB / 401.3 MB, free: 72.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0042/0.8334, allocations: 1.332 MB / 402.6 MB, free: 71.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.8336, allocations: 147.6 kB / 402.7 MB, free: 71.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004894/0.8341, allocations: 188 kB / 402.9 MB, free: 70.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005763/0.8399, allocations: 2.354 MB / 405.3 MB, free: 68.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-05/0.84, allocations: 11.89 kB / 405.3 MB, free: 68.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.8403, allocations: 80 kB / 405.4 MB, free: 68.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.8405, allocations: 87.64 kB / 405.4 MB, free: 68.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004918/0.8454, allocations: 1.834 MB / 407.3 MB, free: 66.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.8634, allocations: 7.774 MB / 415 MB, free: 58.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/0.8662, allocations: 1.375 MB / 416.4 MB, free: 57.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.8684, allocations: 0.8955 MB / 417.3 MB, free: 56.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003903/0.8688, allocations: 138 kB / 417.5 MB, free: 56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.8689, allocations: 48.03 kB / 417.5 MB, free: 55.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.577e-06/0.8689, allocations: 0 / 417.5 MB, free: 55.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.01723/0.8861, allocations: 5.123 MB / 422.6 MB, free: 50.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.8862, allocations: 64.72 kB / 422.7 MB, free: 50.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.8883, allocations: 1.054 MB / 423.7 MB, free: 49.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.8886, allocations: 49.7 kB / 423.8 MB, free: 49.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000643/0.8892, allocations: 0.8735 MB / 424.7 MB, free: 48.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005457/0.8898, allocations: 443.3 kB / 425.1 MB, free: 48.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.8899, allocations: 32 kB / 425.1 MB, free: 48.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.8901, allocations: 365.9 kB / 425.5 MB, free: 47.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.8916, allocations: 0.6443 MB / 426.1 MB, free: 47.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.8932, allocations: 0.9767 MB / 427.1 MB, free: 46.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.895, allocations: 0.8091 MB / 427.9 MB, free: 45.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.895, allocations: 0 / 427.9 MB, free: 45.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005546/0.9006, allocations: 2.28 MB / 430.2 MB, free: 42.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.9007, allocations: 8 kB / 430.2 MB, free: 42.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.9007, allocations: 11.98 kB / 430.2 MB, free: 42.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.9025, allocations: 0.4963 MB / 430.7 MB, free: 42.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/0.905, allocations: 339.4 kB / 431 MB, free: 42.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008711/0.9137, allocations: 6.63 MB / 437.7 MB, free: 35.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.9158, allocations: 83.92 kB / 437.8 MB, free: 35.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.9161, allocations: 64.05 kB / 437.8 MB, free: 34.95 MB / 314.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.0003855/0.9165, allocations: 182.2 kB / 438 MB, free: 34.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.9169, allocations: 146.2 kB / 438.1 MB, free: 34.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00547/0.9223, allocations: 2.09 MB / 440.2 MB, free: 32.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.9224, allocations: 19.94 kB / 440.2 MB, free: 32.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.9224, allocations: 11.95 kB / 440.3 MB, free: 32.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/0.9225, allocations: 11.97 kB / 440.3 MB, free: 32.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.9337, allocations: 4.276 MB / 444.5 MB, free: 28.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-05/0.9337, allocations: 0 / 444.5 MB, free: 28.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/0.9358, allocations: 227.7 kB / 444.8 MB, free: 27.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002454/0.9383, allocations: 0.5507 MB / 445.3 MB, free: 27.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/0.9386, allocations: 35.98 kB / 445.4 MB, free: 27.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/0.9488, allocations: 8.17 MB / 453.5 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.9489, allocations: 7.938 kB / 453.5 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007179/0.9561, allocations: 3.16 MB / 456.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.9573, allocations: 367.2 kB / 457 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/0.9577, allocations: 36.14 kB / 457.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.9592, allocations: 75.92 kB / 457.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/0.9595, allocations: 104.8 kB / 457.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.9597, allocations: 35.98 kB / 457.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001537/0.9612, allocations: 0.8185 MB / 458.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.9612, allocations: 0 / 458.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002277/0.9635, allocations: 487.9 kB / 458.6 MB, free: 13.38 MB / 314.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.007537/0.9711, allocations: 4.512 MB / 463.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004774/0.9759, allocations: 2.302 MB / 465.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.976, allocations: 4 kB / 465.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003266/0.9793, allocations: 1.564 MB / 467 MB, free: 4.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/0.9822, allocations: 380.6 kB / 467.3 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009602/0.9918, allocations: 3.945 MB / 471.3 MB, free: 344 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/0.9938, allocations: 1.682 MB / 473 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001864/0.9957, allocations: 328.9 kB / 473.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/0.9972, allocations: 0.7102 MB / 474 MB, free: 13.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.9972, allocations: 0 / 474 MB, free: 13.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3622/1.359, allocations: 40.38 MB / 0.5023 GB, free: 93.17 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/1.36, allocations: 205.3 kB / 0.5025 GB, free: 92.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.938/5.298, allocations: 0 / 0.5025 GB, free: 92.95 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat