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.746/1.746, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.465e-05, allocations: 4 kB / 225.1 MB, free: 2.605 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2562, allocations: 38.77 MB / 263.9 MB, free: 9.75 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.4196, allocations: 93.16 MB / 357 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.4199, allocations: 83.95 kB / 357.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3951/0.815, allocations: 41.11 MB / 398.2 MB, free: 75.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.8151, allocations: 0 / 398.2 MB, free: 75.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002429/0.8153, allocations: 47.94 kB / 398.3 MB, free: 75.61 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.007017/0.8224, allocations: 1.986 MB / 400.2 MB, free: 73.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.8224, allocations: 12.03 kB / 400.3 MB, free: 73.57 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001079/0.8235, allocations: 265.7 kB / 400.5 MB, free: 73.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.8252, allocations: 261.2 kB / 400.8 MB, free: 73.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/0.8296, allocations: 1.372 MB / 402.1 MB, free: 71.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.8298, allocations: 135.6 kB / 402.3 MB, free: 71.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008274/0.8306, allocations: 183.9 kB / 402.5 MB, free: 71.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007147/0.8378, allocations: 2.299 MB / 404.8 MB, free: 68.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.8379, allocations: 7.938 kB / 404.8 MB, free: 68.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004505/0.8384, allocations: 79.84 kB / 404.8 MB, free: 68.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.8385, allocations: 83.47 kB / 404.9 MB, free: 68.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00581/0.8444, allocations: 1.811 MB / 406.7 MB, free: 66.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/0.8647, allocations: 7.454 MB / 414.2 MB, free: 59.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.8678, allocations: 1.278 MB / 415.5 MB, free: 58.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/0.8703, allocations: 0.81 MB / 416.3 MB, free: 57.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/0.8708, allocations: 133.8 kB / 416.4 MB, free: 57.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.8708, allocations: 47.33 kB / 416.5 MB, free: 56.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 3.286e-06/0.8709, allocations: 0 / 416.5 MB, free: 56.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.01283/0.8837, allocations: 4.087 MB / 420.5 MB, free: 52.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.8838, allocations: 64.41 kB / 420.6 MB, free: 52.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.8864, allocations: 1.165 MB / 421.8 MB, free: 51.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002839/0.8867, allocations: 41.7 kB / 421.8 MB, free: 51.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006583/0.8874, allocations: 0.8594 MB / 422.7 MB, free: 50.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004942/0.8879, allocations: 358.5 kB / 423 MB, free: 50.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.8881, allocations: 28 kB / 423 MB, free: 50.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8882, allocations: 358.8 kB / 423.4 MB, free: 49.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.8897, allocations: 0.6039 MB / 424 MB, free: 49.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.8913, allocations: 0.8883 MB / 424.9 MB, free: 48.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.8932, allocations: 0.7465 MB / 425.6 MB, free: 47.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.8932, allocations: 4 kB / 425.6 MB, free: 47.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006513/0.8997, allocations: 2.263 MB / 427.9 MB, free: 45.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.8998, allocations: 15.98 kB / 427.9 MB, free: 45.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.8998, allocations: 8 kB / 427.9 MB, free: 45.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/0.9033, allocations: 0.7704 MB / 428.7 MB, free: 44.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.905, allocations: 239.6 kB / 428.9 MB, free: 44.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/0.9213, allocations: 8.567 MB / 437.5 MB, free: 35.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.9233, allocations: 79.92 kB / 437.6 MB, free: 35.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003191/0.9237, allocations: 48 kB / 437.6 MB, free: 35.32 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.0003303/0.924, allocations: 174.4 kB / 437.8 MB, free: 35.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004956/0.9245, allocations: 146.2 kB / 437.9 MB, free: 35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005007/0.9296, allocations: 1.87 MB / 439.8 MB, free: 33.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.9296, allocations: 8 kB / 439.8 MB, free: 33.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.9296, allocations: 4 kB / 439.8 MB, free: 33.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.9297, allocations: 3.984 kB / 439.8 MB, free: 33.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.9404, allocations: 3.968 MB / 443.8 MB, free: 29.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.9405, allocations: 0 / 443.8 MB, free: 29.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.9422, allocations: 195.7 kB / 444 MB, free: 28.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/0.9443, allocations: 467.1 kB / 444.4 MB, free: 28.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/0.9446, allocations: 27.98 kB / 444.5 MB, free: 28.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008002/0.9526, allocations: 6.16 MB / 450.6 MB, free: 21.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.9527, allocations: 7.984 kB / 450.6 MB, free: 21.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/0.9592, allocations: 2.861 MB / 453.5 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.9605, allocations: 359.3 kB / 453.8 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/0.9611, allocations: 31.98 kB / 453.9 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.9627, allocations: 75.88 kB / 453.9 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.9632, allocations: 88.59 kB / 454 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.9633, allocations: 31.98 kB / 454.1 MB, free: 18.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002157/0.9655, allocations: 0.8898 MB / 455 MB, free: 17.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.9655, allocations: 0 / 455 MB, free: 17.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002724/0.9683, allocations: 476.1 kB / 455.4 MB, free: 16.82 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.007631/0.9759, allocations: 4.235 MB / 459.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00529/0.9813, allocations: 1.947 MB / 461.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.9813, allocations: 4.062 kB / 461.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003313/0.9846, allocations: 1.307 MB / 462.9 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.9877, allocations: 340.5 kB / 463.2 MB, free: 8.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.9989, allocations: 3.812 MB / 467.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/1.001, allocations: 1.716 MB / 468.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/1.002, allocations: 0.7063 MB / 469.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of SimCode: time 1.754e-06/1.002, allocations: 0 / 469.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.725/4.727, allocations: 60.27 MB / 0.5173 GB, free: 94.69 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