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.947/1.947, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.573e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.334, allocations: 44.49 MB / 294.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.5036, allocations: 97.62 MB / 391.9 MB, free: 196 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.504, allocations: 83.95 kB / 391.9 MB, free: 112 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4189/0.9229, allocations: 40.45 MB / 432.4 MB, free: 92.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.923, allocations: 0 / 432.4 MB, free: 92.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002254/0.9232, allocations: 48.47 kB / 432.4 MB, free: 92.46 MB / 362.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.007567/0.9308, allocations: 1.994 MB / 434.4 MB, free: 91.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.9309, allocations: 9.141 kB / 434.4 MB, free: 91.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.9325, allocations: 264.2 kB / 434.7 MB, free: 91.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00442/0.9369, allocations: 1.411 MB / 436.1 MB, free: 91.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/0.937, allocations: 58.03 kB / 436.2 MB, free: 91.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005498/0.9376, allocations: 108.2 kB / 436.3 MB, free: 91.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004994/0.9426, allocations: 1.749 MB / 438 MB, free: 91.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005892/0.9486, allocations: 2.073 MB / 440.1 MB, free: 90.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-05/0.9487, allocations: 7.875 kB / 440.1 MB, free: 90.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.949, allocations: 7.922 kB / 440.1 MB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.9491, allocations: 79.59 kB / 440.2 MB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.9665, allocations: 7.151 MB / 447.3 MB, free: 88.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.9691, allocations: 1.252 MB / 448.6 MB, free: 87.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.9708, allocations: 0.7154 MB / 449.3 MB, free: 87.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/0.9713, allocations: 139.5 kB / 449.4 MB, free: 87.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.9713, allocations: 40.91 kB / 449.5 MB, free: 87.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 4.038e-06/0.9713, allocations: 0 / 449.5 MB, free: 87.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=103): time 0.01149/0.9828, allocations: 3.924 MB / 453.4 MB, free: 85.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.9829, allocations: 63.69 kB / 453.5 MB, free: 85.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.9849, allocations: 0.9845 MB / 454.4 MB, free: 84.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.9852, allocations: 25.7 kB / 454.5 MB, free: 84.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000629/0.9858, allocations: 0.8965 MB / 455.4 MB, free: 84.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.9863, allocations: 349.1 kB / 455.7 MB, free: 83.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.9864, allocations: 0 / 455.7 MB, free: 83.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.9865, allocations: 362.7 kB / 456.1 MB, free: 83.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.9877, allocations: 0.5827 MB / 456.6 MB, free: 83.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.989, allocations: 0.8689 MB / 457.5 MB, free: 82.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.9905, allocations: 0.7173 MB / 458.2 MB, free: 82.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.9905, allocations: 3.5 kB / 458.2 MB, free: 82.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006007/0.9965, allocations: 2.26 MB / 460.5 MB, free: 81.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.9966, allocations: 10.59 kB / 460.5 MB, free: 81.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.9966, allocations: 6 kB / 460.5 MB, free: 81.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/0.9999, allocations: 0.7715 MB / 461.3 MB, free: 81.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/1.002, allocations: 230 kB / 461.5 MB, free: 81.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/1.016, allocations: 8.184 MB / 469.7 MB, free: 75.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.018, allocations: 57.75 kB / 469.8 MB, free: 75.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/1.019, allocations: 44 kB / 469.8 MB, free: 75.16 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.0003117/1.019, allocations: 136.8 kB / 469.9 MB, free: 75.02 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004008/1.023, allocations: 1.664 MB / 471.6 MB, free: 73.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004591/1.023, allocations: 137.2 kB / 471.7 MB, free: 73.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/1.028, allocations: 1.782 MB / 473.5 MB, free: 71.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.028, allocations: 8 kB / 473.5 MB, free: 71.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.028, allocations: 4 kB / 473.5 MB, free: 71.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/1.028, allocations: 10.66 kB / 473.5 MB, free: 71.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009303/1.037, allocations: 3.628 MB / 477.2 MB, free: 68.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.037, allocations: 4 kB / 477.2 MB, free: 68.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/1.039, allocations: 197.4 kB / 477.4 MB, free: 68.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/1.041, allocations: 458.3 kB / 477.8 MB, free: 68.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.041, allocations: 14.7 kB / 477.8 MB, free: 68.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007408/1.048, allocations: 5.918 MB / 483.7 MB, free: 62.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/1.048, allocations: 3.938 kB / 483.7 MB, free: 62.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0057/1.054, allocations: 2.742 MB / 486.5 MB, free: 59.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.055, allocations: 339.4 kB / 486.8 MB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/1.056, allocations: 7.984 kB / 486.8 MB, free: 59.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.057, allocations: 59.92 kB / 486.9 MB, free: 59.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/1.058, allocations: 88.55 kB / 487 MB, free: 59.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.058, allocations: 31.98 kB / 487 MB, free: 59.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001512/1.059, allocations: 0.7519 MB / 487.7 MB, free: 58.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.059, allocations: 0 / 487.7 MB, free: 58.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002424/1.062, allocations: 412 kB / 488.2 MB, free: 58.15 MB / 362.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.006413/1.068, allocations: 3.939 MB / 492.1 MB, free: 54.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004441/1.073, allocations: 1.922 MB / 494 MB, free: 52.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.073, allocations: 0 / 494 MB, free: 52.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002738/1.075, allocations: 1.28 MB / 495.3 MB, free: 50.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/1.078, allocations: 270.5 kB / 495.6 MB, free: 50.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.091, allocations: 3.704 MB / 499.3 MB, free: 46.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004099/1.095, allocations: 1.734 MB / 0.4893 GB, free: 45.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00307/1.098, allocations: 300.3 kB / 0.4895 GB, free: 44.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003131/1.101, allocations: 0.6984 MB / 0.4902 GB, free: 44.15 MB / 362.7 MB Notification: Performance of SimCode: time 2.184e-06/1.101, allocations: 0 / 0.4902 GB, free: 44.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.133/1.234, allocations: 33.6 MB / 0.523 GB, free: 10.65 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.235, allocations: 181.8 kB / 0.5232 GB, free: 10.45 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/4.811, allocations: 4 kB / 0.5232 GB, free: 10.45 MB / 362.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