Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.556e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3015, allocations: 44.5 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.4725, allocations: 97.12 MB / 391.3 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.4729, allocations: 87.95 kB / 391.4 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4654/0.9383, allocations: 39.68 MB / 431.1 MB, free: 92.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.9384, allocations: 3.281 kB / 431.1 MB, free: 92.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002297/0.9386, allocations: 57.3 kB / 431.2 MB, free: 92.25 MB / 362.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.007927/0.9465, allocations: 1.926 MB / 433.1 MB, free: 91.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.9466, allocations: 15.17 kB / 433.1 MB, free: 91.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.9486, allocations: 255.3 kB / 433.3 MB, free: 91.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005007/0.9536, allocations: 1.331 MB / 434.7 MB, free: 90.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.9538, allocations: 59.59 kB / 434.7 MB, free: 90.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008101/0.9546, allocations: 111 kB / 434.8 MB, free: 90.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005315/0.96, allocations: 1.694 MB / 436.5 MB, free: 90.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006991/0.967, allocations: 2.032 MB / 438.6 MB, free: 90.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.9672, allocations: 10.39 kB / 438.6 MB, free: 90.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003362/0.9675, allocations: 352 / 438.6 MB, free: 90.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.9677, allocations: 85.55 kB / 438.7 MB, free: 90.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0189/0.9866, allocations: 6.809 MB / 445.5 MB, free: 88.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.9892, allocations: 1.232 MB / 446.7 MB, free: 87.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.9909, allocations: 0.6677 MB / 447.4 MB, free: 87.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004288/0.9914, allocations: 137.1 kB / 447.5 MB, free: 87.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.9915, allocations: 42.72 kB / 447.5 MB, free: 87.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=90): time 3.226e-06/0.9915, allocations: 0 / 447.5 MB, free: 87.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=113): time 0.0152/1.007, allocations: 4.562 MB / 452.1 MB, free: 85.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.007, allocations: 63.94 kB / 452.2 MB, free: 85.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/1.009, allocations: 0.8448 MB / 453 MB, free: 85.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003145/1.009, allocations: 25.7 kB / 453 MB, free: 85.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000613/1.01, allocations: 0.859 MB / 453.9 MB, free: 84.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005309/1.01, allocations: 380.5 kB / 454.3 MB, free: 84.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/1.01, allocations: 0 / 454.3 MB, free: 84.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/1.01, allocations: 362.3 kB / 454.6 MB, free: 83.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/1.012, allocations: 0.6124 MB / 455.2 MB, free: 83.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/1.014, allocations: 0.9115 MB / 456.1 MB, free: 82.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/1.015, allocations: 0.7576 MB / 456.9 MB, free: 82.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/1.015, allocations: 2.844 kB / 456.9 MB, free: 82.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006048/1.021, allocations: 2.137 MB / 459 MB, free: 81.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/1.022, allocations: 11.8 kB / 459.1 MB, free: 81.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/1.022, allocations: 7.75 kB / 459.1 MB, free: 81.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/1.024, allocations: 0.6275 MB / 459.7 MB, free: 81.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/1.027, allocations: 284.8 kB / 460 MB, free: 81.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/1.037, allocations: 6.034 MB / 466 MB, free: 77.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/1.039, allocations: 69.25 kB / 466.1 MB, free: 77.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003233/1.039, allocations: 56.59 kB / 466.1 MB, free: 77.73 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.000343/1.04, allocations: 131.2 kB / 466.3 MB, free: 77.6 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005324/1.045, allocations: 1.936 MB / 468.2 MB, free: 76.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000608/1.046, allocations: 126.4 kB / 468.3 MB, free: 75.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005642/1.051, allocations: 2.075 MB / 470.4 MB, free: 74.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/1.051, allocations: 9.25 kB / 470.4 MB, free: 74.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.051, allocations: 8 kB / 470.4 MB, free: 74.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/1.051, allocations: 6.703 kB / 470.4 MB, free: 74.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/1.063, allocations: 4.012 MB / 474.4 MB, free: 70.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.063, allocations: 8.031 kB / 474.4 MB, free: 70.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.064, allocations: 171.4 kB / 474.6 MB, free: 70.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003323/1.068, allocations: 0.7228 MB / 475.3 MB, free: 70.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/1.068, allocations: 11.47 kB / 475.3 MB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/1.082, allocations: 7.726 MB / 483.1 MB, free: 62.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/1.083, allocations: 6.531 kB / 483.1 MB, free: 62.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.093, allocations: 3.157 MB / 486.2 MB, free: 59.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.095, allocations: 339.3 kB / 486.6 MB, free: 59.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006706/1.096, allocations: 11.8 kB / 486.6 MB, free: 59.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/1.098, allocations: 69.42 kB / 486.6 MB, free: 59.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006478/1.099, allocations: 97.25 kB / 486.7 MB, free: 59.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.099, allocations: 39.98 kB / 486.8 MB, free: 59.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001901/1.101, allocations: 0.6316 MB / 487.4 MB, free: 58.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.101, allocations: 0 / 487.4 MB, free: 58.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003523/1.104, allocations: 408 kB / 487.8 MB, free: 58.42 MB / 362.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.01141/1.116, allocations: 4.632 MB / 492.4 MB, free: 53.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007058/1.123, allocations: 2.118 MB / 494.5 MB, free: 51.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.123, allocations: 4.625 kB / 494.6 MB, free: 51.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005275/1.128, allocations: 1.483 MB / 496 MB, free: 50 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/1.132, allocations: 267.7 kB / 496.3 MB, free: 49.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.147, allocations: 3.659 MB / 500 MB, free: 46.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/1.15, allocations: 1.672 MB / 0.4899 GB, free: 44.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/1.152, allocations: 0.6867 MB / 0.4905 GB, free: 43.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.854e-06/1.152, allocations: 0 / 0.4905 GB, free: 43.64 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.523/4.675, allocations: 65.57 MB / 0.5546 GB, free: 10.12 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat