Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.695/1.695, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.598e-05, allocations: 4 kB / 219.6 MB, free: 7.316 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2523, allocations: 38.76 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.4131, allocations: 92.51 MB / 350.8 MB, free: 1.363 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.4135, allocations: 83.95 kB / 350.9 MB, free: 1.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3842/0.7977, allocations: 40.55 MB / 391.5 MB, free: 82.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7978, allocations: 0 / 391.5 MB, free: 82.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001971/0.798, allocations: 51.81 kB / 391.5 MB, free: 82.48 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.006704/0.8047, allocations: 1.986 MB / 393.5 MB, free: 81.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8048, allocations: 11.09 kB / 393.5 MB, free: 81.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.8063, allocations: 261.7 kB / 393.8 MB, free: 81.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/0.8101, allocations: 1.37 MB / 395.1 MB, free: 79.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.8102, allocations: 64.97 kB / 395.2 MB, free: 79.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004/0.8106, allocations: 107.9 kB / 395.3 MB, free: 79.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004191/0.8148, allocations: 1.737 MB / 397 MB, free: 77.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004612/0.8195, allocations: 2.072 MB / 399.1 MB, free: 75.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.102e-05/0.8196, allocations: 4 kB / 399.1 MB, free: 75.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.8198, allocations: 4 kB / 399.1 MB, free: 75.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.8199, allocations: 79.48 kB / 399.2 MB, free: 75.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01604/0.836, allocations: 7.095 MB / 406.3 MB, free: 68.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/0.8398, allocations: 1.254 MB / 407.5 MB, free: 67.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00244/0.8423, allocations: 0.72 MB / 408.3 MB, free: 66.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005167/0.8429, allocations: 133.8 kB / 408.4 MB, free: 66.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.8429, allocations: 43.34 kB / 408.4 MB, free: 66.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 6.643e-06/0.843, allocations: 3.984 kB / 408.4 MB, free: 66.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.01688/0.8599, allocations: 3.92 MB / 412.4 MB, free: 62.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.86, allocations: 68.67 kB / 412.4 MB, free: 62.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/0.8628, allocations: 0.9656 MB / 413.4 MB, free: 61.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000316/0.8631, allocations: 25.7 kB / 413.4 MB, free: 61.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008371/0.864, allocations: 0.8747 MB / 414.3 MB, free: 60.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005645/0.8646, allocations: 346.8 kB / 414.6 MB, free: 59.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.8648, allocations: 0 / 414.6 MB, free: 59.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.8649, allocations: 358.8 kB / 415 MB, free: 59.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.8668, allocations: 0.5921 MB / 415.6 MB, free: 58.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.8688, allocations: 0.8652 MB / 416.4 MB, free: 57.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.8712, allocations: 0.7245 MB / 417.2 MB, free: 57.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/0.8713, allocations: 0 / 417.2 MB, free: 57.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008474/0.8797, allocations: 2.176 MB / 419.3 MB, free: 55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.8798, allocations: 11.59 kB / 419.4 MB, free: 54.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.8799, allocations: 8 kB / 419.4 MB, free: 54.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004511/0.8844, allocations: 0.7665 MB / 420.1 MB, free: 54.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.887, allocations: 243.6 kB / 420.4 MB, free: 53.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/0.9039, allocations: 8.174 MB / 428.5 MB, free: 45.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.9056, allocations: 59.83 kB / 428.6 MB, free: 45.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.9058, allocations: 51.98 kB / 428.7 MB, free: 45.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002897/0.9061, allocations: 128.7 kB / 428.8 MB, free: 45.33 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003856/0.9099, allocations: 1.662 MB / 430.4 MB, free: 43.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.9103, allocations: 134.3 kB / 430.6 MB, free: 43.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/0.9145, allocations: 1.775 MB / 432.3 MB, free: 41.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.9146, allocations: 15.95 kB / 432.4 MB, free: 41.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9146, allocations: 4 kB / 432.4 MB, free: 41.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.9146, allocations: 7.969 kB / 432.4 MB, free: 41.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008517/0.9231, allocations: 3.62 MB / 436 MB, free: 38.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.9232, allocations: 0 / 436 MB, free: 38.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/0.925, allocations: 200 kB / 436.2 MB, free: 37.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003162/0.9282, allocations: 458.8 kB / 436.6 MB, free: 37.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.9285, allocations: 11.98 kB / 436.6 MB, free: 37.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.9403, allocations: 5.917 MB / 442.6 MB, free: 31.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.9403, allocations: 4.031 kB / 442.6 MB, free: 31.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007574/0.9479, allocations: 2.743 MB / 445.3 MB, free: 28.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.9492, allocations: 351.3 kB / 445.7 MB, free: 27.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004297/0.9497, allocations: 15.94 kB / 445.7 MB, free: 27.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.9515, allocations: 59.92 kB / 445.7 MB, free: 27.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003969/0.9519, allocations: 80.59 kB / 445.8 MB, free: 27.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.952, allocations: 32 kB / 445.8 MB, free: 27.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001922/0.954, allocations: 0.7323 MB / 446.6 MB, free: 26.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.954, allocations: 0 / 446.6 MB, free: 26.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003011/0.957, allocations: 408 kB / 447 MB, free: 26.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008379/0.9654, allocations: 3.957 MB / 450.9 MB, free: 22.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006038/0.9715, allocations: 1.912 MB / 452.8 MB, free: 20.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9716, allocations: 0 / 452.8 MB, free: 20.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003616/0.9752, allocations: 1.293 MB / 454.1 MB, free: 19.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/0.9782, allocations: 268.2 kB / 454.4 MB, free: 19.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.9903, allocations: 3.702 MB / 458.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/0.9925, allocations: 1.704 MB / 459.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/0.9945, allocations: 0.6984 MB / 460.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.302e-06/0.9945, allocations: 0 / 460.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.498/4.493, allocations: 58.99 MB / 0.5073 GB, free: 102.3 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_Initialize_res.mat does not exist to compare? outputFormat=mat