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.703/1.703, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.026e-05, allocations: 4 kB / 225.1 MB, free: 2.746 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2481, allocations: 38.77 MB / 263.8 MB, free: 9.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.4082, allocations: 93.16 MB / 357 MB, free: 12.58 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.4085, allocations: 79.95 kB / 357.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4223/0.8309, allocations: 41.11 MB / 398.2 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.831, allocations: 0 / 398.2 MB, free: 75.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000162/0.8311, allocations: 51.94 kB / 398.2 MB, free: 75.85 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.005995/0.8371, allocations: 1.989 MB / 400.2 MB, free: 73.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.8372, allocations: 8.031 kB / 400.2 MB, free: 73.81 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007352/0.838, allocations: 261.7 kB / 400.5 MB, free: 73.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.839, allocations: 261.2 kB / 400.7 MB, free: 73.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/0.8428, allocations: 1.376 MB / 402.1 MB, free: 71.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.843, allocations: 135.5 kB / 402.2 MB, free: 71.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005463/0.8435, allocations: 183.9 kB / 402.4 MB, free: 71.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005736/0.8493, allocations: 2.318 MB / 404.7 MB, free: 69.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.066e-05/0.8494, allocations: 7.984 kB / 404.8 MB, free: 69.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/0.8497, allocations: 72 kB / 404.8 MB, free: 69.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.8498, allocations: 83.42 kB / 404.9 MB, free: 69.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004948/0.8548, allocations: 1.841 MB / 406.7 MB, free: 67.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.8721, allocations: 7.462 MB / 414.2 MB, free: 59.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.8748, allocations: 1.28 MB / 415.5 MB, free: 58.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/0.8768, allocations: 0.8138 MB / 416.3 MB, free: 57.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003561/0.8772, allocations: 129.8 kB / 416.4 MB, free: 57.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.8772, allocations: 39.34 kB / 416.5 MB, free: 57.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 3.186e-06/0.8772, allocations: 0 / 416.5 MB, free: 57.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.01138/0.8886, allocations: 4.1 MB / 420.6 MB, free: 53.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.8887, allocations: 64.34 kB / 420.6 MB, free: 52.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.891, allocations: 1.161 MB / 421.8 MB, free: 51.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002215/0.8912, allocations: 53.7 kB / 421.8 MB, free: 51.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005539/0.8918, allocations: 0.8554 MB / 422.7 MB, free: 50.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.8921, allocations: 358.6 kB / 423 MB, free: 50.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.8923, allocations: 24 kB / 423.1 MB, free: 50.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.8924, allocations: 354.8 kB / 423.4 MB, free: 50.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.8937, allocations: 0.6078 MB / 424 MB, free: 49.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.8952, allocations: 0.8948 MB / 424.9 MB, free: 48.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.8967, allocations: 0.7426 MB / 425.7 MB, free: 47.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.8968, allocations: 11.94 kB / 425.7 MB, free: 47.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005807/0.9026, allocations: 2.29 MB / 428 MB, free: 45.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.9026, allocations: 8 kB / 428 MB, free: 45.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.9027, allocations: 12 kB / 428 MB, free: 45.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/0.9059, allocations: 0.7821 MB / 428.8 MB, free: 44.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.9075, allocations: 227.7 kB / 429 MB, free: 44.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.923, allocations: 8.562 MB / 437.6 MB, free: 35.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.9248, allocations: 79.91 kB / 437.6 MB, free: 35.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.925, allocations: 48 kB / 437.7 MB, free: 35.47 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.0003131/0.9254, allocations: 172.9 kB / 437.8 MB, free: 35.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/0.9257, allocations: 146.2 kB / 438 MB, free: 35.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.9304, allocations: 1.866 MB / 439.9 MB, free: 33.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.9304, allocations: 12 kB / 439.9 MB, free: 33.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.9304, allocations: 4 kB / 439.9 MB, free: 33.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/0.9305, allocations: 3.984 kB / 439.9 MB, free: 33.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009464/0.9399, allocations: 3.968 MB / 443.8 MB, free: 29.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.94, allocations: 4.125 kB / 443.8 MB, free: 29.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.9415, allocations: 200 kB / 444 MB, free: 28.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/0.9435, allocations: 466.8 kB / 444.5 MB, free: 28.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.9436, allocations: 35.97 kB / 444.5 MB, free: 28.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007361/0.951, allocations: 6.155 MB / 450.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.951, allocations: 3.938 kB / 450.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005894/0.9569, allocations: 2.865 MB / 453.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.958, allocations: 359.3 kB / 453.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.9583, allocations: 31.98 kB / 453.9 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.9597, allocations: 79.88 kB / 454 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.96, allocations: 84.59 kB / 454.1 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.9601, allocations: 35.98 kB / 454.1 MB, free: 18.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001704/0.9619, allocations: 0.8938 MB / 455 MB, free: 17.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9619, allocations: 0 / 455 MB, free: 17.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002097/0.964, allocations: 472.1 kB / 455.5 MB, free: 16.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 84 * 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.006588/0.9706, allocations: 4.224 MB / 459.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004628/0.9753, allocations: 1.998 MB / 461.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.9753, allocations: 1.875 kB / 461.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002841/0.9781, allocations: 1.338 MB / 463 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.9808, allocations: 348.8 kB / 463.4 MB, free: 8.859 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009108/0.99, allocations: 3.813 MB / 467.2 MB, free: 4.961 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.9915, allocations: 1.712 MB / 468.9 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/0.9929, allocations: 0.7062 MB / 469.6 MB, free: 2.512 MB / 314.7 MB Notification: Performance of SimCode: time 1.342e-06/0.993, allocations: 3.938 kB / 469.6 MB, free: 2.508 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.665/4.658, allocations: 60.44 MB / 0.5176 GB, free: 94.72 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