Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.753/1.753, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.754e-05, allocations: 12 kB / 219.6 MB, free: 7.312 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2552, allocations: 38.76 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.4172, allocations: 92.05 MB / 350.4 MB, free: 1.715 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.4176, allocations: 83.95 kB / 350.5 MB, free: 1.633 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3949/0.8125, allocations: 39.76 MB / 390.2 MB, free: 82.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.8125, allocations: 0 / 390.2 MB, free: 82.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001384/0.8127, allocations: 46.41 kB / 390.3 MB, free: 82.88 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005084/0.8178, allocations: 1.934 MB / 392.2 MB, free: 81.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.8178, allocations: 7.312 kB / 392.2 MB, free: 81.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.8188, allocations: 252.7 kB / 392.5 MB, free: 81.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.8218, allocations: 1.289 MB / 393.7 MB, free: 80.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.375e-05/0.8219, allocations: 56.59 kB / 393.8 MB, free: 80.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.8223, allocations: 108 kB / 393.9 MB, free: 80.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003883/0.8262, allocations: 1.682 MB / 395.6 MB, free: 79.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004229/0.8304, allocations: 2.033 MB / 397.6 MB, free: 76.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.207e-05/0.8305, allocations: 7.938 kB / 397.6 MB, free: 76.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.8307, allocations: 0 / 397.6 MB, free: 76.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.8308, allocations: 83.5 kB / 397.7 MB, free: 76.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/0.8446, allocations: 6.78 MB / 404.5 MB, free: 70 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.8467, allocations: 1.233 MB / 405.7 MB, free: 68.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.8481, allocations: 0.6637 MB / 406.4 MB, free: 68.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/0.8484, allocations: 137.8 kB / 406.5 MB, free: 67.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.8485, allocations: 39.34 kB / 406.6 MB, free: 67.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 3.226e-06/0.8485, allocations: 0 / 406.6 MB, free: 67.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=113): time 0.01245/0.8609, allocations: 4.578 MB / 411.1 MB, free: 63.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.861, allocations: 64.72 kB / 411.2 MB, free: 63.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.8624, allocations: 0.8195 MB / 412 MB, free: 62.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.8625, allocations: 25.7 kB / 412 MB, free: 62.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.863, allocations: 0.8552 MB / 412.9 MB, free: 61.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.8634, allocations: 378.4 kB / 413.3 MB, free: 61.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.8635, allocations: 0 / 413.3 MB, free: 61.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8636, allocations: 362.8 kB / 413.6 MB, free: 60.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.8648, allocations: 0.6078 MB / 414.2 MB, free: 60.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.8661, allocations: 0.905 MB / 415.1 MB, free: 59.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.8676, allocations: 0.7596 MB / 415.9 MB, free: 58.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.8676, allocations: 4 kB / 415.9 MB, free: 58.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004942/0.8726, allocations: 2.128 MB / 418 MB, free: 56.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.8726, allocations: 8 kB / 418 MB, free: 56.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.8727, allocations: 8 kB / 418 MB, free: 56.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/0.875, allocations: 0.6262 MB / 418.7 MB, free: 55.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.8769, allocations: 287.6 kB / 419 MB, free: 55.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009188/0.8861, allocations: 6.024 MB / 425 MB, free: 48.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.8877, allocations: 71.89 kB / 425 MB, free: 48.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.8879, allocations: 56 kB / 425.1 MB, free: 48.79 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: 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.0002995/0.8882, allocations: 132.7 kB / 425.2 MB, free: 48.65 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004532/0.8928, allocations: 1.939 MB / 427.2 MB, free: 46.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.893, allocations: 126.5 kB / 427.3 MB, free: 46.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/0.898, allocations: 2.063 MB / 429.4 MB, free: 44.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.8981, allocations: 12 kB / 429.4 MB, free: 44.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.8981, allocations: 8 kB / 429.4 MB, free: 44.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.8981, allocations: 7.969 kB / 429.4 MB, free: 44.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009178/0.9073, allocations: 3.999 MB / 433.4 MB, free: 40.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.9073, allocations: 4 kB / 433.4 MB, free: 40.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.9087, allocations: 175.8 kB / 433.6 MB, free: 40.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002893/0.9116, allocations: 0.7182 MB / 434.3 MB, free: 39.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.9117, allocations: 11.98 kB / 434.3 MB, free: 39.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.9228, allocations: 7.723 MB / 442 MB, free: 31.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.9229, allocations: 7.953 kB / 442 MB, free: 31.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006329/0.9292, allocations: 3.148 MB / 445.2 MB, free: 28.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008241/0.9301, allocations: 339.4 kB / 445.5 MB, free: 27.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.9304, allocations: 8 kB / 445.5 MB, free: 27.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.9317, allocations: 67.91 kB / 445.6 MB, free: 27.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/0.932, allocations: 101.1 kB / 445.7 MB, free: 27.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.9321, allocations: 35.98 kB / 445.7 MB, free: 27.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001066/0.9332, allocations: 0.6121 MB / 446.3 MB, free: 26.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.9332, allocations: 7.938 kB / 446.3 MB, free: 26.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001749/0.935, allocations: 415.9 kB / 446.7 MB, free: 26.53 MB / 314.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.006874/0.9419, allocations: 4.639 MB / 451.4 MB, free: 21.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004326/0.9462, allocations: 2.118 MB / 453.5 MB, free: 19.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9462, allocations: 4.812 kB / 453.5 MB, free: 19.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003246/0.9495, allocations: 1.48 MB / 455 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.9516, allocations: 271.9 kB / 455.2 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00788/0.9595, allocations: 3.623 MB / 458.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.961, allocations: 1.665 MB / 460.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.9622, allocations: 0.6789 MB / 461.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.9622, allocations: 0 / 461.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.619/4.582, allocations: 65.02 MB / 0.5139 GB, free: 101.7 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat