Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.103e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.09388, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4899/0.5838, allocations: 97.78 MB / 397.7 MB, free: 12.58 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/0.5843, allocations: 88.36 kB / 397.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2241/0.8084, allocations: 40.22 MB / 438.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.8085, allocations: 0 / 438.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002797/0.8088, allocations: 47.94 kB / 438.1 MB, free: 10.74 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.009723/0.8185, allocations: 1.935 MB / 440 MB, free: 8.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/0.8186, allocations: 16.03 kB / 440.1 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001246/0.8199, allocations: 267.9 kB / 440.3 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.8218, allocations: 253.2 kB / 440.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006436/0.8283, allocations: 1.319 MB / 441.9 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.8286, allocations: 139.9 kB / 442 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009862/0.8296, allocations: 183.8 kB / 442.2 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.8397, allocations: 2.285 MB / 444.5 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.8399, allocations: 7.906 kB / 444.5 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004695/0.8404, allocations: 74.12 kB / 444.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002013/0.8406, allocations: 91.12 kB / 444.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008902/0.8495, allocations: 1.78 MB / 446.4 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02788/0.8775, allocations: 7.174 MB / 453.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.8822, allocations: 1.272 MB / 454.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002596/0.8848, allocations: 0.6937 MB / 455.6 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005509/0.8854, allocations: 129.8 kB / 455.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.672e-05/0.8855, allocations: 47.34 kB / 455.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 4.679e-06/0.8855, allocations: 0 / 455.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.02598/0.9115, allocations: 5.962 MB / 461.7 MB, free: 5.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.9116, allocations: 60.41 kB / 461.8 MB, free: 5.199 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.9141, allocations: 1.022 MB / 462.8 MB, free: 4.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002774/0.9144, allocations: 45.7 kB / 462.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000896/0.9153, allocations: 0.8609 MB / 463.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008628/0.9162, allocations: 394.1 kB / 464.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.9164, allocations: 24 kB / 464.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000288/0.9168, allocations: 361.9 kB / 464.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.919, allocations: 0.6391 MB / 465.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.9212, allocations: 0.9384 MB / 466 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.9234, allocations: 0.7817 MB / 466.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.9234, allocations: 3.938 kB / 466.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007417/0.9309, allocations: 2.327 MB / 469.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.931, allocations: 13.09 kB / 469.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.931, allocations: 8 kB / 469.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00291/0.9339, allocations: 0.6336 MB / 469.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/0.9362, allocations: 279.6 kB / 470.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.9487, allocations: 6.307 MB / 476.4 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.9506, allocations: 91.97 kB / 476.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.9509, allocations: 55.98 kB / 476.5 MB, free: 5.98 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000429/0.9513, allocations: 184.6 kB / 476.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.9517, allocations: 146.2 kB / 476.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006624/0.9584, allocations: 2.177 MB / 479 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.9584, allocations: 12 kB / 479 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.9584, allocations: 8 kB / 479 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/0.9585, allocations: 3.984 kB / 479 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.9712, allocations: 4.35 MB / 483.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.9713, allocations: 4 kB / 483.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/0.9729, allocations: 184 kB / 483.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00352/0.9765, allocations: 0.7175 MB / 484.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00024/0.9768, allocations: 39.94 kB / 484.3 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01527/0.992, allocations: 8.034 MB / 492.4 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.9921, allocations: 3.938 kB / 492.4 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008661/1.001, allocations: 3.26 MB / 495.6 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/1.002, allocations: 355.3 kB / 496 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/1.002, allocations: 36.11 kB / 496 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.004, allocations: 83.91 kB / 496.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003984/1.004, allocations: 100.8 kB / 496.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.005, allocations: 28 kB / 496.2 MB, free: 1.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001907/1.006, allocations: 0.7964 MB / 497 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.007, allocations: 7.938 kB / 497 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002411/1.009, allocations: 475.9 kB / 497.5 MB, free: 360 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01014/1.019, allocations: 4.733 MB / 0.4905 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006059/1.025, allocations: 2.213 MB / 0.4926 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.025, allocations: 8 kB / 0.4926 GB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004242/1.03, allocations: 1.542 MB / 0.4941 GB, free: 7.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/1.032, allocations: 345.4 kB / 0.4945 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.043, allocations: 3.755 MB / 0.4981 GB, free: 3.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/1.045, allocations: 1.689 MB / 0.4998 GB, free: 1.734 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001661/1.047, allocations: 296.1 kB / 0.5001 GB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.048, allocations: 0.6828 MB / 0.5007 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/1.048, allocations: 3.938 kB / 0.5007 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3988/1.447, allocations: 39.85 MB / 0.5396 GB, free: 111.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/1.447, allocations: 216.1 kB / 0.5399 GB, free: 110.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.913/5.361, allocations: 0 / 0.5399 GB, free: 110.9 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat