Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.646/1.646, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.965e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2774, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.4362, allocations: 93.18 MB / 357.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.4365, allocations: 83.95 kB / 357.1 MB, free: 12.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.38/0.8166, allocations: 41.11 MB / 398.2 MB, free: 75.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8166, allocations: 0 / 398.2 MB, free: 75.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001918/0.8168, allocations: 55.94 kB / 398.3 MB, free: 75.59 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.006537/0.8234, allocations: 1.978 MB / 400.3 MB, free: 73.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.8235, allocations: 8.031 kB / 400.3 MB, free: 73.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008523/0.8243, allocations: 269.7 kB / 400.6 MB, free: 73.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.8256, allocations: 261.2 kB / 400.8 MB, free: 73.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003974/0.8296, allocations: 1.372 MB / 402.2 MB, free: 71.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.8298, allocations: 135.6 kB / 402.3 MB, free: 71.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005588/0.8303, allocations: 183.8 kB / 402.5 MB, free: 71.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00588/0.8362, allocations: 2.291 MB / 404.8 MB, free: 68.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.649e-05/0.8364, allocations: 4 kB / 404.8 MB, free: 68.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002805/0.8367, allocations: 79.84 kB / 404.9 MB, free: 68.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.8368, allocations: 83.48 kB / 404.9 MB, free: 68.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00493/0.8417, allocations: 1.819 MB / 406.8 MB, free: 66.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01781/0.8596, allocations: 7.454 MB / 414.2 MB, free: 59.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/0.8624, allocations: 1.281 MB / 415.5 MB, free: 57.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.8645, allocations: 0.8098 MB / 416.3 MB, free: 57.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/0.8649, allocations: 134.6 kB / 416.4 MB, free: 57.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.865, allocations: 43.34 kB / 416.5 MB, free: 56.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 4.318e-06/0.865, allocations: 0 / 416.5 MB, free: 56.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.0118/0.8768, allocations: 4.095 MB / 420.6 MB, free: 52.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.8769, allocations: 60.41 kB / 420.6 MB, free: 52.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.8793, allocations: 1.161 MB / 421.8 MB, free: 51.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.8796, allocations: 41.7 kB / 421.8 MB, free: 51.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00069/0.8803, allocations: 0.8929 MB / 422.7 MB, free: 50.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000453/0.8808, allocations: 365 kB / 423.1 MB, free: 50.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.8809, allocations: 24 kB / 423.1 MB, free: 50.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.881, allocations: 357.9 kB / 423.5 MB, free: 49.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.8824, allocations: 0.6039 MB / 424.1 MB, free: 49.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.8848, allocations: 0.8883 MB / 425 MB, free: 48.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.8865, allocations: 0.7504 MB / 425.7 MB, free: 47.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.8865, allocations: 0 / 425.7 MB, free: 47.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006194/0.8927, allocations: 2.355 MB / 428.1 MB, free: 45.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.8928, allocations: 15.94 kB / 428.1 MB, free: 45.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.8928, allocations: 8 kB / 428.1 MB, free: 45.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00321/0.896, allocations: 0.7743 MB / 428.9 MB, free: 44.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.8978, allocations: 231.7 kB / 429.1 MB, free: 44.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/0.9137, allocations: 8.565 MB / 437.6 MB, free: 35.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.9157, allocations: 83.91 kB / 437.7 MB, free: 35.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.9159, allocations: 52 kB / 437.8 MB, free: 35.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003207/0.9163, allocations: 164.7 kB / 437.9 MB, free: 35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/0.9167, allocations: 150.3 kB / 438.1 MB, free: 34.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004948/0.9217, allocations: 1.866 MB / 440 MB, free: 32.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.9217, allocations: 12 kB / 440 MB, free: 32.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.9217, allocations: 4 kB / 440 MB, free: 32.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.9218, allocations: 3.984 kB / 440 MB, free: 32.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.9322, allocations: 3.96 MB / 443.9 MB, free: 28.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.9323, allocations: 3.938 kB / 443.9 MB, free: 28.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.934, allocations: 195.7 kB / 444.1 MB, free: 28.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.936, allocations: 459.1 kB / 444.6 MB, free: 28.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002161/0.9363, allocations: 27.98 kB / 444.6 MB, free: 28.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008703/0.945, allocations: 6.172 MB / 450.8 MB, free: 21.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.9451, allocations: 4 kB / 450.8 MB, free: 21.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/0.9514, allocations: 2.865 MB / 453.6 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.9526, allocations: 363.2 kB / 454 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003571/0.953, allocations: 31.98 kB / 454 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.9545, allocations: 71.88 kB / 454.1 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.9549, allocations: 92.59 kB / 454.2 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.955, allocations: 24 kB / 454.2 MB, free: 18.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001954/0.9569, allocations: 0.8938 MB / 455.1 MB, free: 17.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.957, allocations: 0 / 455.1 MB, free: 17.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003263/0.9603, allocations: 476 kB / 455.6 MB, free: 16.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01177/0.9721, allocations: 4.228 MB / 459.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007662/0.9798, allocations: 1.951 MB / 461.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.9799, allocations: 0 / 461.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004664/0.9846, allocations: 1.303 MB / 463.1 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004471/0.9891, allocations: 352.8 kB / 463.4 MB, free: 8.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/1.004, allocations: 3.793 MB / 467.2 MB, free: 4.793 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002713/1.007, allocations: 1.731 MB / 468.9 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.002609/1.01, allocations: 312 kB / 469.2 MB, free: 2.719 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/1.012, allocations: 0.7023 MB / 469.9 MB, free: 2.016 MB / 314.7 MB Notification: Performance of SimCode: time 2.164e-06/1.012, allocations: 0 / 469.9 MB, free: 2.016 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4237/1.436, allocations: 39.45 MB / 0.4974 GB, free: 96.16 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/1.436, allocations: 206 kB / 0.4976 GB, free: 95.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.924/5.361, allocations: 3.938 kB / 0.4976 GB, free: 95.93 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_Initialize_res.mat does not exist to compare? outputFormat=mat