Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.387e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.09309, allocations: 44.52 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4305/0.5237, allocations: 98.28 MB / 398.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.524, allocations: 86.05 kB / 398.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1982/0.7222, allocations: 41 MB / 439.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.7222, allocations: 0 / 439.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002896/0.7226, allocations: 47.94 kB / 439.4 MB, free: 9.391 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.01025/0.7328, allocations: 1.988 MB / 441.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.142e-05/0.7329, allocations: 8.031 kB / 441.4 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00131/0.7342, allocations: 268.7 kB / 441.6 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.7365, allocations: 261.2 kB / 441.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006516/0.7431, allocations: 1.417 MB / 443.3 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.7434, allocations: 137.6 kB / 443.4 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006977/0.7441, allocations: 183 kB / 443.6 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0088/0.7529, allocations: 2.327 MB / 446 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.7531, allocations: 11.98 kB / 446 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003945/0.7535, allocations: 74.56 kB / 446 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/0.7537, allocations: 79.5 kB / 446.1 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007776/0.7615, allocations: 1.846 MB / 448 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.7851, allocations: 7.498 MB / 455.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.7882, allocations: 1.284 MB / 456.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.7905, allocations: 0.8138 MB / 457.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/0.7909, allocations: 137.8 kB / 457.7 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.7909, allocations: 43.81 kB / 457.7 MB, free: 9.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.085e-06/0.7909, allocations: 0 / 457.7 MB, free: 9.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01256/0.8035, allocations: 4.094 MB / 461.8 MB, free: 5.059 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.8036, allocations: 68.34 kB / 461.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.8063, allocations: 1.184 MB / 463.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.8064, allocations: 41.7 kB / 463.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009098/0.8073, allocations: 0.8931 MB / 464 MB, free: 2.836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004331/0.8078, allocations: 366.6 kB / 464.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.8079, allocations: 24 kB / 464.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.8081, allocations: 353.9 kB / 464.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.8097, allocations: 0.6039 MB / 465.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.8115, allocations: 0.9026 MB / 466.2 MB, free: 492 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.8133, allocations: 0.7466 MB / 467 MB, free: 15.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.8133, allocations: 0 / 467 MB, free: 15.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007038/0.8204, allocations: 2.387 MB / 469.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.8204, allocations: 11.94 kB / 469.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.8205, allocations: 8 kB / 469.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/0.8239, allocations: 0.7665 MB / 470.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.8256, allocations: 239.7 kB / 470.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/0.8443, allocations: 8.553 MB / 479 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.8463, allocations: 80.08 kB / 479 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.8465, allocations: 55.98 kB / 479.1 MB, free: 3.352 MB / 362.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.0003871/0.8469, allocations: 172.6 kB / 479.3 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/0.8473, allocations: 146.3 kB / 479.4 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005377/0.8527, allocations: 1.866 MB / 481.3 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.8528, allocations: 12 kB / 481.3 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.8528, allocations: 4 kB / 481.3 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.8528, allocations: 7.984 kB / 481.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.8641, allocations: 3.969 MB / 485.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.8641, allocations: 4.281 kB / 485.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.8659, allocations: 199.7 kB / 485.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002244/0.8681, allocations: 466.8 kB / 485.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.8683, allocations: 27.98 kB / 485.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009971/0.8783, allocations: 6.172 MB / 492.1 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.8783, allocations: 4 kB / 492.1 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007265/0.8856, allocations: 2.857 MB / 495 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.8869, allocations: 371.1 kB / 495.3 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/0.8872, allocations: 24 kB / 495.4 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.8887, allocations: 71.92 kB / 495.4 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.889, allocations: 88.59 kB / 495.5 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.8891, allocations: 31.98 kB / 495.5 MB, free: 2.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002201/0.8913, allocations: 0.9133 MB / 496.5 MB, free: 1.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8914, allocations: 0 / 496.5 MB, free: 1.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002359/0.8937, allocations: 467.9 kB / 496.9 MB, free: 0.8906 MB / 378.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.009042/0.9028, allocations: 4.215 MB / 0.4894 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005568/0.9084, allocations: 1.999 MB / 0.4913 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.9084, allocations: 0.625 kB / 0.4913 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003287/0.9117, allocations: 1.331 MB / 0.4926 GB, free: 9.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.9145, allocations: 352.8 kB / 0.493 GB, free: 8.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.9255, allocations: 3.83 MB / 0.4967 GB, free: 4.922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/0.9279, allocations: 1.739 MB / 0.4984 GB, free: 3.145 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001907/0.9298, allocations: 312.1 kB / 0.4987 GB, free: 2.836 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/0.9316, allocations: 0.7063 MB / 0.4994 GB, free: 2.129 MB / 394.7 MB Notification: Performance of SimCode: time 3.596e-06/0.9317, allocations: 0 / 0.4994 GB, free: 2.129 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3721/1.304, allocations: 40.08 MB / 0.5385 GB, free: 107.9 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/1.304, allocations: 224.5 kB / 0.5388 GB, free: 107.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.989/5.293, allocations: 0 / 0.5388 GB, free: 107.7 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat does not exist to compare? outputFormat=mat