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.872/1.872, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.661e-05/3.669e-05, allocations: 0 / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.6104, allocations: 98.29 MB / 398.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.6107, allocations: 84.94 kB / 398.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1918/0.8025, allocations: 41.02 MB / 439.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.8026, allocations: 0 / 439.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002649/0.8028, allocations: 51.84 kB / 439.4 MB, free: 9.336 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.009801/0.8127, allocations: 1.985 MB / 441.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.8128, allocations: 8.031 kB / 441.4 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001304/0.8141, allocations: 268 kB / 441.7 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.8161, allocations: 261.2 kB / 441.9 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006362/0.8225, allocations: 1.416 MB / 443.4 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.8228, allocations: 129.8 kB / 443.5 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.8239, allocations: 189.6 kB / 443.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008969/0.8329, allocations: 2.312 MB / 446 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.8331, allocations: 0 / 446 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004053/0.8335, allocations: 78.62 kB / 446.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002045/0.8337, allocations: 79.12 kB / 446.1 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007395/0.8411, allocations: 1.822 MB / 448 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02878/0.87, allocations: 7.49 MB / 455.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004533/0.8746, allocations: 1.275 MB / 456.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/0.878, allocations: 0.81 MB / 457.5 MB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/0.8786, allocations: 141.7 kB / 457.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.8787, allocations: 39.34 kB / 457.7 MB, free: 9.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 5.29e-06/0.8787, allocations: 0 / 457.7 MB, free: 9.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01906/0.8978, allocations: 4.095 MB / 461.8 MB, free: 5.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.8979, allocations: 64.41 kB / 461.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/0.9021, allocations: 1.184 MB / 463 MB, free: 3.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003744/0.9026, allocations: 41.7 kB / 463.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.904, allocations: 0.897 MB / 464 MB, free: 2.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007717/0.9048, allocations: 366.4 kB / 464.3 MB, free: 2.484 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.905, allocations: 24 kB / 464.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002657/0.9053, allocations: 357.9 kB / 464.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/0.9076, allocations: 0.6039 MB / 465.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.9103, allocations: 0.8923 MB / 466.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002708/0.9131, allocations: 0.7465 MB / 467 MB, free: 15.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.9131, allocations: 4 kB / 467 MB, free: 15.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009825/0.923, allocations: 2.355 MB / 469.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.9231, allocations: 8 kB / 469.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.9231, allocations: 16.19 kB / 469.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004819/0.9279, allocations: 0.7704 MB / 470.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.9304, allocations: 231.6 kB / 470.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02742/0.9578, allocations: 8.557 MB / 478.9 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.9605, allocations: 87.81 kB / 479 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/0.9609, allocations: 48.16 kB / 479 MB, free: 3.387 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.0005401/0.9615, allocations: 172.7 kB / 479.2 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009884/0.9625, allocations: 138.3 kB / 479.3 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007775/0.9703, allocations: 1.87 MB / 481.2 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.221e-05/0.9704, allocations: 15.98 kB / 481.2 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.9704, allocations: 4 kB / 481.2 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.933e-05/0.9704, allocations: 3.984 kB / 481.2 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/0.9867, allocations: 3.955 MB / 485.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.9868, allocations: 7.938 kB / 485.2 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/0.9892, allocations: 200 kB / 485.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003084/0.9923, allocations: 466.8 kB / 485.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/0.9927, allocations: 35.97 kB / 485.9 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/1.007, allocations: 6.172 MB / 492 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.007, allocations: 0 / 492 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009658/1.017, allocations: 2.864 MB / 494.9 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.018, allocations: 363.2 kB / 495.3 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/1.019, allocations: 27.98 kB / 495.3 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/1.021, allocations: 79.92 kB / 495.4 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004068/1.021, allocations: 76.66 kB / 495.4 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.021, allocations: 31.98 kB / 495.5 MB, free: 2.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00293/1.024, allocations: 0.9094 MB / 496.4 MB, free: 1.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.024, allocations: 0 / 496.4 MB, free: 1.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003279/1.028, allocations: 479.9 kB / 496.9 MB, free: 0.9336 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.01162/1.039, allocations: 4.224 MB / 0.4893 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007747/1.047, allocations: 1.954 MB / 0.4912 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.047, allocations: 0 / 0.4912 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004712/1.052, allocations: 1.301 MB / 0.4925 GB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003669/1.056, allocations: 340.5 kB / 0.4928 GB, free: 8.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/1.071, allocations: 3.825 MB / 0.4966 GB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/1.074, allocations: 1.739 MB / 0.4983 GB, free: 3.293 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002453/1.076, allocations: 312.1 kB / 0.4986 GB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002148/1.078, allocations: 0.7063 MB / 0.4993 GB, free: 2.277 MB / 394.7 MB Notification: Performance of SimCode: time 1.183e-06/1.078, allocations: 3.938 kB / 0.4993 GB, free: 2.273 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.397/1.475, allocations: 39.88 MB / 0.5382 GB, free: 107.9 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/1.476, allocations: 212.5 kB / 0.5384 GB, free: 107.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.705/5.18, allocations: 3.906 kB / 0.5384 GB, free: 107.6 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