Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.051/2.051, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.076e-05, allocations: 8 kB / 269.5 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5636, allocations: 102.1 MB / 419.2 MB, free: 1.812 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.564, allocations: 83.33 kB / 419.2 MB, free: 1.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1912/0.7551, allocations: 40.21 MB / 459.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.7552, allocations: 0 / 459.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001999/0.7554, allocations: 47.94 kB / 459.5 MB, free: 15.82 MB / 378.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.007265/0.7627, allocations: 1.942 MB / 461.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.7628, allocations: 8.031 kB / 461.4 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008868/0.7637, allocations: 268.4 kB / 461.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.7649, allocations: 249.3 kB / 461.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/0.7694, allocations: 1.348 MB / 463.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.7696, allocations: 132.1 kB / 463.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006685/0.7703, allocations: 179.3 kB / 463.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006844/0.7772, allocations: 2.268 MB / 465.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-05/0.7773, allocations: 11.98 kB / 465.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000324/0.7776, allocations: 72.34 kB / 465.9 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.7778, allocations: 87.47 kB / 466 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006005/0.7838, allocations: 1.76 MB / 467.8 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.8043, allocations: 7.175 MB / 475 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.8074, allocations: 1.258 MB / 476.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.8094, allocations: 0.6936 MB / 476.9 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004172/0.8098, allocations: 133.8 kB / 477 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.8099, allocations: 47.28 kB / 477.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 7.083e-06/0.8099, allocations: 0 / 477.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=113): time 0.02543/0.8353, allocations: 5.95 MB / 483 MB, free: 8.621 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.8354, allocations: 64.41 kB / 483.1 MB, free: 8.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/0.8379, allocations: 1.03 MB / 484.1 MB, free: 7.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.8382, allocations: 45.7 kB / 484.2 MB, free: 7.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009197/0.8392, allocations: 0.8536 MB / 485 MB, free: 6.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006841/0.8399, allocations: 410.2 kB / 485.4 MB, free: 6.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.84, allocations: 27.94 kB / 485.5 MB, free: 6.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.8403, allocations: 357.9 kB / 485.8 MB, free: 5.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.8421, allocations: 0.639 MB / 486.5 MB, free: 5.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.8442, allocations: 0.9357 MB / 487.4 MB, free: 4.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.8464, allocations: 0.7817 MB / 488.2 MB, free: 3.312 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.8465, allocations: 8 kB / 488.2 MB, free: 3.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007424/0.8539, allocations: 2.296 MB / 490.5 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.854, allocations: 18.12 kB / 490.5 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.8541, allocations: 8 kB / 490.5 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002955/0.857, allocations: 0.6375 MB / 491.1 MB, free: 324 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.8593, allocations: 283.6 kB / 491.4 MB, free: 40 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/0.8724, allocations: 6.296 MB / 497.7 MB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.8745, allocations: 91.95 kB / 497.8 MB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.8748, allocations: 51.95 kB / 497.9 MB, free: 9.332 MB / 410.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.0004048/0.8752, allocations: 172.7 kB / 498 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/0.8757, allocations: 146.4 kB / 498.2 MB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006678/0.8824, allocations: 2.173 MB / 0.4886 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/0.8825, allocations: 16 kB / 0.4886 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.8825, allocations: 7.938 kB / 0.4886 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.229e-05/0.8826, allocations: 7.969 kB / 0.4886 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.8957, allocations: 4.343 MB / 0.4929 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/0.8958, allocations: 4 kB / 0.4929 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.8973, allocations: 171.8 kB / 0.493 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003573/0.9009, allocations: 0.7293 MB / 0.4938 GB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002578/0.9012, allocations: 31.98 kB / 0.4938 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/0.9167, allocations: 8.041 MB / 0.5016 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.9167, allocations: 4 kB / 0.5016 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008697/0.9254, allocations: 3.253 MB / 0.5048 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.9267, allocations: 363.2 kB / 0.5052 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/0.9272, allocations: 31.98 kB / 0.5052 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.9288, allocations: 83.91 kB / 0.5053 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/0.9292, allocations: 104.8 kB / 0.5054 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.9293, allocations: 32 kB / 0.5054 GB, free: 4.961 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001934/0.9313, allocations: 0.7927 MB / 0.5062 GB, free: 4.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.9313, allocations: 0 / 0.5062 GB, free: 4.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002585/0.9339, allocations: 479.9 kB / 0.5066 GB, free: 3.691 MB / 426.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.3181/1.252, allocations: 4.737 MB / 0.5113 GB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006132/1.258, allocations: 2.175 MB / 0.5134 GB, free: 119.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.258, allocations: 0 / 0.5134 GB, free: 119.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004188/1.263, allocations: 1.493 MB / 0.5149 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/1.266, allocations: 353.1 kB / 0.5152 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/1.277, allocations: 3.762 MB / 0.5189 GB, free: 118.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/1.279, allocations: 1.687 MB / 0.5205 GB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001858/1.281, allocations: 297.4 kB / 0.5208 GB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.283, allocations: 0.6805 MB / 0.5215 GB, free: 117.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/1.283, allocations: 2.844 kB / 0.5215 GB, free: 117.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.383, allocations: 39.73 MB / 0.5603 GB, free: 109.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/1.383, allocations: 207.6 kB / 0.5605 GB, free: 109.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.871/5.254, allocations: 0 / 0.5605 GB, free: 109.1 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat