Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.227/2.227, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.358e-05, allocations: 4 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 47.57 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.598, allocations: 102.6 MB / 419.6 MB, free: 1.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/0.5985, allocations: 85.2 kB / 419.7 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.189/0.7875, allocations: 41.04 MB / 460.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7876, allocations: 0 / 460.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002716/0.7879, allocations: 55.94 kB / 460.8 MB, free: 14.65 MB / 378.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.007474/0.7953, allocations: 1.986 MB / 462.8 MB, free: 12.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.7954, allocations: 8.031 kB / 462.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001077/0.7965, allocations: 264.4 kB / 463 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.798, allocations: 261.2 kB / 463.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004916/0.803, allocations: 1.406 MB / 464.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.8032, allocations: 139.5 kB / 464.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009174/0.8042, allocations: 189 kB / 465 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007418/0.8116, allocations: 2.316 MB / 467.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.8117, allocations: 7.906 kB / 467.3 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003113/0.8121, allocations: 76 kB / 467.4 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.8122, allocations: 75.5 kB / 467.5 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006043/0.8183, allocations: 1.819 MB / 469.3 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.8401, allocations: 7.499 MB / 476.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.8435, allocations: 1.274 MB / 478.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/0.8459, allocations: 0.81 MB / 478.9 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/0.8464, allocations: 133.8 kB / 479 MB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.8465, allocations: 39.34 kB / 479.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 3.427e-06/0.8465, allocations: 0 / 479.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=103): time 0.0138/0.8603, allocations: 4.098 MB / 483.2 MB, free: 8.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.8604, allocations: 64.41 kB / 483.2 MB, free: 8.367 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.8634, allocations: 1.184 MB / 484.4 MB, free: 7.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002864/0.8637, allocations: 45.7 kB / 484.4 MB, free: 7.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.8647, allocations: 0.8891 MB / 485.3 MB, free: 6.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005533/0.8653, allocations: 362.8 kB / 485.7 MB, free: 5.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.8654, allocations: 27.94 kB / 485.7 MB, free: 5.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.8656, allocations: 353.9 kB / 486.1 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.8672, allocations: 0.6 MB / 486.7 MB, free: 4.887 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.8691, allocations: 0.8922 MB / 487.6 MB, free: 3.875 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.871, allocations: 0.7426 MB / 488.3 MB, free: 3.133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.8711, allocations: 4 kB / 488.3 MB, free: 3.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007229/0.8783, allocations: 2.371 MB / 490.7 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.8784, allocations: 11.94 kB / 490.7 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.8784, allocations: 8 kB / 490.7 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/0.8822, allocations: 0.7704 MB / 491.5 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.884, allocations: 235.6 kB / 491.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/0.9035, allocations: 8.558 MB / 0.4885 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.9056, allocations: 83.83 kB / 0.4886 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.9058, allocations: 55.98 kB / 0.4887 GB, free: 6.742 MB / 410.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.0003686/0.9062, allocations: 170.7 kB / 0.4888 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/0.9067, allocations: 146.2 kB / 0.489 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/0.9121, allocations: 1.862 MB / 0.4908 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.9122, allocations: 8 kB / 0.4908 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.9122, allocations: 4 kB / 0.4908 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/0.9123, allocations: 3.984 kB / 0.4908 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.9242, allocations: 3.965 MB / 0.4947 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.9243, allocations: 4 kB / 0.4947 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/0.9261, allocations: 204 kB / 0.4949 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002355/0.9285, allocations: 462.9 kB / 0.4953 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/0.9288, allocations: 27.98 kB / 0.4953 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009728/0.9386, allocations: 6.175 MB / 0.5014 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.9386, allocations: 4 kB / 0.5014 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007086/0.9457, allocations: 2.868 MB / 0.5042 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.947, allocations: 359.2 kB / 0.5045 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/0.9473, allocations: 31.98 kB / 0.5045 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.9489, allocations: 83.88 kB / 0.5046 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/0.9492, allocations: 76.66 kB / 0.5047 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.9494, allocations: 35.98 kB / 0.5047 GB, free: 5.633 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002331/0.9517, allocations: 0.9094 MB / 0.5056 GB, free: 4.719 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.9518, allocations: 0 / 0.5056 GB, free: 4.719 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002711/0.9545, allocations: 472 kB / 0.5061 GB, free: 4.258 MB / 426.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.2771/1.232, allocations: 4.207 MB / 0.5102 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005979/1.238, allocations: 1.944 MB / 0.5121 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.238, allocations: 0.5312 kB / 0.5121 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003525/1.241, allocations: 1.305 MB / 0.5134 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.244, allocations: 349.5 kB / 0.5137 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.256, allocations: 3.82 MB / 0.5174 GB, free: 120 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/1.258, allocations: 1.733 MB / 0.5191 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001936/1.26, allocations: 308.5 kB / 0.5194 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/1.262, allocations: 0.7053 MB / 0.5201 GB, free: 119.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/1.262, allocations: 0 / 0.5201 GB, free: 119.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/1.377, allocations: 39.89 MB / 0.559 GB, free: 110.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/1.377, allocations: 209.9 kB / 0.5592 GB, free: 110.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.873/5.25, allocations: 0 / 0.5592 GB, free: 110.6 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat does not exist to compare? outputFormat=mat