Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.707/1.707, allocations: 171.2 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.667e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2697, allocations: 38.77 MB / 258.4 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.4444, allocations: 92.49 MB / 350.8 MB, free: 1.328 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.4448, allocations: 79.95 kB / 350.9 MB, free: 1.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4628/0.9076, allocations: 40.57 MB / 391.5 MB, free: 82.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.9077, allocations: 0 / 391.5 MB, free: 82.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002601/0.9079, allocations: 56.94 kB / 391.5 MB, free: 82.59 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.008661/0.9166, allocations: 1.985 MB / 393.5 MB, free: 81.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.9167, allocations: 10.81 kB / 393.5 MB, free: 81.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.9185, allocations: 260.8 kB / 393.8 MB, free: 81.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005343/0.9239, allocations: 1.364 MB / 395.2 MB, free: 79.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.9241, allocations: 64.97 kB / 395.2 MB, free: 79.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008316/0.9249, allocations: 107.9 kB / 395.3 MB, free: 79.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007167/0.9321, allocations: 1.741 MB / 397.1 MB, free: 77.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006767/0.939, allocations: 2.068 MB / 399.1 MB, free: 75.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-05/0.9391, allocations: 7.984 kB / 399.1 MB, free: 75.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.9394, allocations: 4 kB / 399.2 MB, free: 75.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.9395, allocations: 79.48 kB / 399.2 MB, free: 75.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01858/0.9581, allocations: 7.103 MB / 406.3 MB, free: 68.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.9608, allocations: 1.247 MB / 407.6 MB, free: 67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.9626, allocations: 0.7202 MB / 408.3 MB, free: 66.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003902/0.963, allocations: 133.8 kB / 408.4 MB, free: 66.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.963, allocations: 39.34 kB / 408.5 MB, free: 66.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 3.607e-06/0.9631, allocations: 4 kB / 408.5 MB, free: 66.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.01197/0.975, allocations: 3.92 MB / 412.4 MB, free: 62.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.9751, allocations: 68.67 kB / 412.5 MB, free: 62.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.9771, allocations: 0.9656 MB / 413.4 MB, free: 61.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.9774, allocations: 29.7 kB / 413.5 MB, free: 61.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/0.978, allocations: 0.8921 MB / 414.3 MB, free: 60.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/0.9784, allocations: 350.8 kB / 414.7 MB, free: 59.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.9785, allocations: 0 / 414.7 MB, free: 59.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.9787, allocations: 353.9 kB / 415 MB, free: 59.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.9798, allocations: 0.5882 MB / 415.6 MB, free: 58.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.9812, allocations: 0.8652 MB / 416.5 MB, free: 57.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.9826, allocations: 0.7284 MB / 417.2 MB, free: 57.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.9826, allocations: 0 / 417.2 MB, free: 57.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005808/0.9885, allocations: 2.258 MB / 419.5 MB, free: 54.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.9885, allocations: 8 kB / 419.5 MB, free: 54.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.9886, allocations: 11.94 kB / 419.5 MB, free: 54.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003272/0.9919, allocations: 0.7625 MB / 420.3 MB, free: 54.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.9936, allocations: 239.6 kB / 420.5 MB, free: 53.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.009, allocations: 8.17 MB / 428.7 MB, free: 45.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/1.01, allocations: 63.98 kB / 428.7 MB, free: 45.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/1.011, allocations: 51.98 kB / 428.8 MB, free: 45.3 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.0003053/1.011, allocations: 132.7 kB / 428.9 MB, free: 45.16 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004206/1.015, allocations: 1.666 MB / 430.6 MB, free: 43.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/1.016, allocations: 134.3 kB / 430.7 MB, free: 43.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/1.02, allocations: 1.771 MB / 432.5 MB, free: 41.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/1.02, allocations: 15.95 kB / 432.5 MB, free: 41.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.02, allocations: 128 / 432.5 MB, free: 41.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/1.02, allocations: 23.89 kB / 432.5 MB, free: 41.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008991/1.029, allocations: 3.605 MB / 436.1 MB, free: 37.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.029, allocations: 4 kB / 436.1 MB, free: 37.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.031, allocations: 199.9 kB / 436.3 MB, free: 37.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/1.033, allocations: 458.9 kB / 436.8 MB, free: 37.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/1.033, allocations: 15.98 kB / 436.8 MB, free: 37.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007053/1.04, allocations: 5.909 MB / 442.7 MB, free: 30.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.04, allocations: 0 / 442.7 MB, free: 30.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/1.045, allocations: 2.75 MB / 445.4 MB, free: 28.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009849/1.046, allocations: 347.3 kB / 445.8 MB, free: 27.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/1.047, allocations: 15.94 kB / 445.8 MB, free: 27.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.048, allocations: 55.92 kB / 445.8 MB, free: 27.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/1.048, allocations: 80.67 kB / 445.9 MB, free: 27.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.049, allocations: 27.98 kB / 445.9 MB, free: 27.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001377/1.05, allocations: 0.7363 MB / 446.7 MB, free: 26.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.05, allocations: 0 / 446.7 MB, free: 26.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00206/1.052, allocations: 404 kB / 447.1 MB, free: 26.42 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.006013/1.058, allocations: 3.968 MB / 451 MB, free: 22.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004246/1.062, allocations: 1.916 MB / 453 MB, free: 20.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/1.062, allocations: 4 kB / 453 MB, free: 20.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002693/1.065, allocations: 1.285 MB / 454.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/1.068, allocations: 273.7 kB / 454.5 MB, free: 18.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009183/1.077, allocations: 3.688 MB / 458.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/1.078, allocations: 1.723 MB / 459.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001616/1.08, allocations: 295 kB / 460.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.082, allocations: 0.6906 MB / 460.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of SimCode: time 1.323e-06/1.082, allocations: 0 / 460.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.19, allocations: 33.19 MB / 494.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003143/1.191, allocations: 189.7 kB / 494.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.468/4.659, allocations: 0 / 494.3 MB, free: 10.9 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat does not exist to compare? outputFormat=mat