Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.673/1.673, allocations: 171.2 MB / 178.8 MB, free: 152 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.292e-05, allocations: 4 kB / 219.6 MB, free: 7.309 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2548, allocations: 38.76 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.4193, allocations: 93.58 MB / 351.9 MB, free: 180 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/0.4197, allocations: 83.95 kB / 352 MB, free: 96 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3901/0.8099, allocations: 39.96 MB / 391.9 MB, free: 81.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.8099, allocations: 0 / 391.9 MB, free: 81.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001947/0.8101, allocations: 54.69 kB / 392 MB, free: 81.75 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.006434/0.8166, allocations: 1.971 MB / 394 MB, free: 80.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.8166, allocations: 9.812 kB / 394 MB, free: 80.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.8181, allocations: 271.8 kB / 394.2 MB, free: 80.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003972/0.8221, allocations: 1.324 MB / 395.6 MB, free: 78.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.8223, allocations: 60 kB / 395.6 MB, free: 78.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006281/0.823, allocations: 123.9 kB / 395.8 MB, free: 78.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004335/0.8273, allocations: 1.73 MB / 397.5 MB, free: 77.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004642/0.832, allocations: 2.092 MB / 399.6 MB, free: 74.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.56e-05/0.8321, allocations: 3.906 kB / 399.6 MB, free: 74.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.8324, allocations: 4 kB / 399.6 MB, free: 74.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.8325, allocations: 79.66 kB / 399.7 MB, free: 74.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.8492, allocations: 7.423 MB / 407.1 MB, free: 67.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.8516, allocations: 1.316 MB / 408.4 MB, free: 65.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.8535, allocations: 0.8573 MB / 409.3 MB, free: 64.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003793/0.8539, allocations: 138.4 kB / 409.4 MB, free: 64.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.854, allocations: 47.88 kB / 409.4 MB, free: 64.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.967e-06/0.854, allocations: 0 / 409.4 MB, free: 64.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.01149/0.8655, allocations: 4.213 MB / 413.7 MB, free: 60.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.8656, allocations: 64.72 kB / 413.7 MB, free: 60.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.8672, allocations: 0.866 MB / 414.6 MB, free: 59.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.8674, allocations: 25.7 kB / 414.6 MB, free: 59.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.8679, allocations: 0.8595 MB / 415.5 MB, free: 58.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003908/0.8683, allocations: 421.6 kB / 415.9 MB, free: 58.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.8685, allocations: 0 / 415.9 MB, free: 58.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8686, allocations: 378.7 kB / 416.2 MB, free: 57.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.8699, allocations: 0.6248 MB / 416.9 MB, free: 57.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.8713, allocations: 0.926 MB / 417.8 MB, free: 56.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.8729, allocations: 0.7791 MB / 418.6 MB, free: 55.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.8729, allocations: 4 kB / 418.6 MB, free: 55.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004711/0.8776, allocations: 2.054 MB / 420.6 MB, free: 53.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.8777, allocations: 8 kB / 420.6 MB, free: 53.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.8777, allocations: 8.25 kB / 420.7 MB, free: 53.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.8794, allocations: 500 kB / 421.1 MB, free: 52.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/0.8818, allocations: 331.5 kB / 421.5 MB, free: 52.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008089/0.8899, allocations: 6.338 MB / 427.8 MB, free: 45.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.8917, allocations: 63.88 kB / 427.9 MB, free: 45.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003668/0.8921, allocations: 56.11 kB / 427.9 MB, free: 45.66 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: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000363/0.8925, allocations: 134 kB / 428 MB, free: 45.52 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004639/0.8972, allocations: 1.854 MB / 429.9 MB, free: 43.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005438/0.8977, allocations: 130.4 kB / 430 MB, free: 43.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/0.9026, allocations: 1.968 MB / 432 MB, free: 41.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.9027, allocations: 12 kB / 432 MB, free: 41.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.9027, allocations: 4 kB / 432 MB, free: 41.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.9027, allocations: 7.969 kB / 432 MB, free: 41.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009886/0.9126, allocations: 3.929 MB / 435.9 MB, free: 37.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.9127, allocations: 4 kB / 436 MB, free: 37.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/0.9146, allocations: 223.7 kB / 436.2 MB, free: 37.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/0.9169, allocations: 0.5468 MB / 436.7 MB, free: 36.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002418/0.9172, allocations: 15.98 kB / 436.7 MB, free: 36.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009582/0.9268, allocations: 7.851 MB / 444.6 MB, free: 28.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.9268, allocations: 3.953 kB / 444.6 MB, free: 28.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/0.9332, allocations: 3.028 MB / 447.6 MB, free: 25.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.9344, allocations: 347.4 kB / 448 MB, free: 24.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003666/0.9347, allocations: 15.98 kB / 448 MB, free: 24.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.9361, allocations: 55.92 kB / 448 MB, free: 24.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003645/0.9365, allocations: 101.2 kB / 448.1 MB, free: 24.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.9366, allocations: 39.98 kB / 448.2 MB, free: 24.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001219/0.9378, allocations: 0.6493 MB / 448.8 MB, free: 24.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.9378, allocations: 0 / 448.8 MB, free: 24.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002178/0.94, allocations: 420.1 kB / 449.2 MB, free: 23.63 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006917/0.947, allocations: 4.386 MB / 453.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00436/0.9514, allocations: 2.206 MB / 455.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.9514, allocations: 4 kB / 455.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003623/0.955, allocations: 1.499 MB / 457.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/0.9585, allocations: 296.5 kB / 457.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.9727, allocations: 3.84 MB / 461.4 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002239/0.975, allocations: 1.662 MB / 463.1 MB, free: 9.406 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/0.9771, allocations: 0.7141 MB / 463.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.9772, allocations: 0 / 463.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.745/4.722, allocations: 76.12 MB / 0.5273 GB, free: 87.89 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_Steinmetz_res.mat does not exist to compare? outputFormat=mat