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.791/1.791, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.399e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2592, allocations: 38.77 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.4237, allocations: 94.26 MB / 358.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.424, allocations: 83.95 kB / 358.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4189/0.843, allocations: 40.49 MB / 398.7 MB, free: 75.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.8431, allocations: 4 kB / 398.7 MB, free: 75.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002329/0.8433, allocations: 51.88 kB / 398.8 MB, free: 75.13 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.008842/0.8522, allocations: 1.966 MB / 400.7 MB, free: 73.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.8523, allocations: 11.97 kB / 400.8 MB, free: 73.11 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009349/0.8532, allocations: 282.2 kB / 401 MB, free: 72.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.8548, allocations: 273.1 kB / 401.3 MB, free: 72.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005418/0.8603, allocations: 1.325 MB / 402.6 MB, free: 71.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.8605, allocations: 147.6 kB / 402.8 MB, free: 71.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007009/0.8612, allocations: 188 kB / 402.9 MB, free: 70.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008525/0.8698, allocations: 2.335 MB / 405.3 MB, free: 68.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.8699, allocations: 7.906 kB / 405.3 MB, free: 68.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004225/0.8704, allocations: 76 kB / 405.4 MB, free: 68.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/0.8706, allocations: 79.66 kB / 405.4 MB, free: 68.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008134/0.8787, allocations: 1.815 MB / 407.3 MB, free: 66.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02099/0.8998, allocations: 7.786 MB / 415 MB, free: 58.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.9025, allocations: 1.353 MB / 416.4 MB, free: 57.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.9047, allocations: 0.8955 MB / 417.3 MB, free: 56.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003759/0.9051, allocations: 149.9 kB / 417.4 MB, free: 56.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.9051, allocations: 44.22 kB / 417.5 MB, free: 56.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.888e-06/0.9051, allocations: 0 / 417.5 MB, free: 56.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.01718/0.9223, allocations: 5.117 MB / 422.6 MB, free: 50.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.9224, allocations: 64.72 kB / 422.7 MB, free: 50.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.9244, allocations: 1.058 MB / 423.7 MB, free: 49.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.9247, allocations: 49.7 kB / 423.8 MB, free: 49.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006126/0.9253, allocations: 0.8696 MB / 424.6 MB, free: 48.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/0.9258, allocations: 439.5 kB / 425.1 MB, free: 48.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.9259, allocations: 36 kB / 425.1 MB, free: 48.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.926, allocations: 361.9 kB / 425.5 MB, free: 47.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.9275, allocations: 0.6521 MB / 426.1 MB, free: 47.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.9291, allocations: 0.9611 MB / 427.1 MB, free: 46.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.9308, allocations: 0.8052 MB / 427.9 MB, free: 45.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.9309, allocations: 4 kB / 427.9 MB, free: 45.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005432/0.9363, allocations: 2.249 MB / 430.1 MB, free: 43.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.9364, allocations: 11.98 kB / 430.1 MB, free: 43.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.9364, allocations: 8 kB / 430.1 MB, free: 43.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/0.9382, allocations: 0.4923 MB / 430.6 MB, free: 42.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.9406, allocations: 331.5 kB / 431 MB, free: 42.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008631/0.9492, allocations: 6.632 MB / 437.6 MB, free: 35.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.9512, allocations: 91.81 kB / 437.7 MB, free: 35.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.9514, allocations: 55.94 kB / 437.7 MB, free: 35.09 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.0003636/0.9518, allocations: 185.1 kB / 437.9 MB, free: 34.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.9521, allocations: 150.2 kB / 438.1 MB, free: 34.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/0.9573, allocations: 2.094 MB / 440.2 MB, free: 32.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.9573, allocations: 16.09 kB / 440.2 MB, free: 32.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.9573, allocations: 7.953 kB / 440.2 MB, free: 32.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.9574, allocations: 15.95 kB / 440.2 MB, free: 32.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.9679, allocations: 4.261 MB / 444.5 MB, free: 28.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.9679, allocations: 4 kB / 444.5 MB, free: 28.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.9698, allocations: 231.6 kB / 444.7 MB, free: 28.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002295/0.9721, allocations: 0.5507 MB / 445.2 MB, free: 27.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.9723, allocations: 35.98 kB / 445.3 MB, free: 27.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.9823, allocations: 8.175 MB / 453.5 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.9824, allocations: 4.031 kB / 453.5 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006825/0.9892, allocations: 3.152 MB / 456.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.9903, allocations: 375.1 kB / 457 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.9906, allocations: 31.94 kB / 457 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.9921, allocations: 79.92 kB / 457.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/0.9924, allocations: 105 kB / 457.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.9926, allocations: 32 kB / 457.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001537/0.9941, allocations: 0.8107 MB / 458 MB, free: 14 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.9941, allocations: 4 kB / 458 MB, free: 14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002159/0.9963, allocations: 483.9 kB / 458.5 MB, free: 13.52 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.007313/1.004, allocations: 4.518 MB / 463 MB, free: 8.902 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004594/1.008, allocations: 2.245 MB / 465.3 MB, free: 6.582 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/1.008, allocations: 8.062 kB / 465.3 MB, free: 6.574 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003175/1.011, allocations: 1.532 MB / 466.8 MB, free: 4.984 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/1.014, allocations: 381.3 kB / 467.2 MB, free: 4.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009304/1.024, allocations: 3.928 MB / 471.1 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/1.026, allocations: 1.693 MB / 472.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001847/1.027, allocations: 324.9 kB / 473.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.029, allocations: 0.7063 MB / 473.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.203e-06/1.029, allocations: 0 / 473.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3743/1.403, allocations: 40.2 MB / 0.502 GB, free: 93.38 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.404, allocations: 204.4 kB / 0.5022 GB, free: 93.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/5.478, allocations: 0 / 0.5022 GB, free: 93.16 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