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.623/1.623, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.426e-05/4.445e-05, allocations: 0 / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2745, allocations: 38.76 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.4382, allocations: 93.16 MB / 357 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004174/0.4387, allocations: 87.94 kB / 357.1 MB, free: 12.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4681/0.9068, allocations: 41.12 MB / 398.2 MB, free: 75.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.9069, allocations: 0 / 398.2 MB, free: 75.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003456/0.9072, allocations: 51.84 kB / 398.3 MB, free: 75.56 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.009816/0.9171, allocations: 1.978 MB / 400.2 MB, free: 73.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.9172, allocations: 8.031 kB / 400.3 MB, free: 73.52 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001301/0.9185, allocations: 265.6 kB / 400.5 MB, free: 73.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.9205, allocations: 265.2 kB / 400.8 MB, free: 73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006058/0.9266, allocations: 1.368 MB / 402.1 MB, free: 71.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.9269, allocations: 139.6 kB / 402.3 MB, free: 71.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000913/0.9278, allocations: 183.9 kB / 402.5 MB, free: 71.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009106/0.937, allocations: 2.318 MB / 404.8 MB, free: 68.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.9371, allocations: 4 kB / 404.8 MB, free: 68.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004057/0.9376, allocations: 79.94 kB / 404.9 MB, free: 68.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.9377, allocations: 75.48 kB / 404.9 MB, free: 68.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007726/0.9455, allocations: 1.841 MB / 406.8 MB, free: 66.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02827/0.9738, allocations: 7.458 MB / 414.2 MB, free: 59.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/0.9783, allocations: 1.292 MB / 415.5 MB, free: 57.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/0.9813, allocations: 0.81 MB / 416.3 MB, free: 57.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/0.9819, allocations: 137.6 kB / 416.5 MB, free: 56.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.982, allocations: 39.34 kB / 416.5 MB, free: 56.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 6.071e-06/0.982, allocations: 4 kB / 416.5 MB, free: 56.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.01379/0.9958, allocations: 4.095 MB / 420.6 MB, free: 52.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.9959, allocations: 60.41 kB / 420.7 MB, free: 52.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.9983, allocations: 1.169 MB / 421.8 MB, free: 51.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002653/0.9986, allocations: 41.7 kB / 421.9 MB, free: 51.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.9993, allocations: 0.8814 MB / 422.8 MB, free: 50.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.9997, allocations: 366.7 kB / 423.1 MB, free: 50.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.9998, allocations: 24 kB / 423.1 MB, free: 50.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.9999, allocations: 349.9 kB / 423.5 MB, free: 49.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/1.001, allocations: 0.6078 MB / 424.1 MB, free: 49.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/1.003, allocations: 0.8986 MB / 425 MB, free: 48.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.004, allocations: 0.7465 MB / 425.7 MB, free: 47.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.004, allocations: 4 kB / 425.7 MB, free: 47.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00618/1.011, allocations: 2.386 MB / 428.1 MB, free: 45.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.011, allocations: 8 kB / 428.1 MB, free: 45.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/1.011, allocations: 8.25 kB / 428.1 MB, free: 45.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/1.014, allocations: 0.7741 MB / 428.9 MB, free: 44.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/1.015, allocations: 231.6 kB / 429.1 MB, free: 44.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/1.031, allocations: 8.561 MB / 437.7 MB, free: 35.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.032, allocations: 75.92 kB / 437.8 MB, free: 35.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/1.033, allocations: 56.14 kB / 437.8 MB, free: 35.07 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.0003131/1.033, allocations: 174.2 kB / 438 MB, free: 34.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/1.033, allocations: 142.2 kB / 438.1 MB, free: 34.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/1.038, allocations: 1.87 MB / 440 MB, free: 32.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/1.038, allocations: 12 kB / 440 MB, free: 32.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.038, allocations: 4 kB / 440 MB, free: 32.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.038, allocations: 7.969 kB / 440 MB, free: 32.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009603/1.047, allocations: 3.959 MB / 444 MB, free: 28.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.048, allocations: 0 / 444 MB, free: 28.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.049, allocations: 208 kB / 444.2 MB, free: 28.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/1.051, allocations: 458.9 kB / 444.6 MB, free: 28.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.051, allocations: 31.98 kB / 444.7 MB, free: 28.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007788/1.059, allocations: 6.164 MB / 450.8 MB, free: 21.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.059, allocations: 3.984 kB / 450.8 MB, free: 21.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006216/1.065, allocations: 2.872 MB / 453.7 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.067, allocations: 367.2 kB / 454.1 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/1.067, allocations: 27.98 kB / 454.1 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.069, allocations: 79.92 kB / 454.2 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/1.069, allocations: 80.78 kB / 454.3 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.069, allocations: 35.98 kB / 454.3 MB, free: 17.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001803/1.071, allocations: 0.8976 MB / 455.2 MB, free: 17.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.071, allocations: 0 / 455.2 MB, free: 17.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0022/1.073, allocations: 475.9 kB / 455.6 MB, free: 16.55 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.007016/1.08, allocations: 4.213 MB / 459.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004844/1.085, allocations: 2.003 MB / 461.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.085, allocations: 0 / 461.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003037/1.088, allocations: 1.326 MB / 463.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.091, allocations: 353.2 kB / 463.5 MB, free: 8.469 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009568/1.101, allocations: 3.806 MB / 467.3 MB, free: 4.578 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.102, allocations: 1.731 MB / 469.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001647/1.104, allocations: 316 kB / 469.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.105, allocations: 0.6993 MB / 470.1 MB, free: 1.805 MB / 314.7 MB Notification: Performance of SimCode: time 1.412e-06/1.105, allocations: 0 / 470.1 MB, free: 1.805 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3596/1.465, allocations: 39.64 MB / 0.4978 GB, free: 96.3 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/1.465, allocations: 210.7 kB / 0.498 GB, free: 96.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.928/5.394, allocations: 0 / 0.498 GB, free: 96.07 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