Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.63/1.63, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.193e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.25, allocations: 38.78 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.4262, allocations: 93.58 MB / 351.9 MB, free: 148 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/0.4266, allocations: 83.95 kB / 352 MB, free: 64 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4116/0.8382, allocations: 39.94 MB / 392 MB, free: 82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.8383, allocations: 0 / 392 MB, free: 82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001976/0.8385, allocations: 53.75 kB / 392 MB, free: 81.99 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01013/0.8486, allocations: 1.975 MB / 394 MB, free: 80.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.8487, allocations: 12.03 kB / 394 MB, free: 80.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.8509, allocations: 265.1 kB / 394.3 MB, free: 80.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00581/0.8568, allocations: 1.325 MB / 395.6 MB, free: 78.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.857, allocations: 64 kB / 395.7 MB, free: 78.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000929/0.858, allocations: 123.8 kB / 395.8 MB, free: 78.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007912/0.8659, allocations: 1.722 MB / 397.5 MB, free: 77.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.876, allocations: 2.1 MB / 399.6 MB, free: 74.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001462/0.8762, allocations: 3.906 kB / 399.6 MB, free: 74.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004377/0.8767, allocations: 8 kB / 399.6 MB, free: 74.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.8769, allocations: 79.66 kB / 399.7 MB, free: 74.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01942/0.8963, allocations: 7.42 MB / 407.1 MB, free: 67.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.8989, allocations: 1.32 MB / 408.4 MB, free: 65.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.901, allocations: 0.8574 MB / 409.3 MB, free: 64.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/0.9014, allocations: 138.4 kB / 409.4 MB, free: 64.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.9015, allocations: 43.88 kB / 409.5 MB, free: 64.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.868e-06/0.9015, allocations: 4 kB / 409.5 MB, free: 64.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.01191/0.9134, allocations: 4.209 MB / 413.7 MB, free: 60.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.9135, allocations: 64.72 kB / 413.7 MB, free: 60.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.9152, allocations: 0.8699 MB / 414.6 MB, free: 59.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002694/0.9155, allocations: 29.7 kB / 414.6 MB, free: 59.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.9162, allocations: 0.8687 MB / 415.5 MB, free: 58.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004402/0.9166, allocations: 421.6 kB / 415.9 MB, free: 58.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.9167, allocations: 0 / 415.9 MB, free: 58.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.9169, allocations: 361.9 kB / 416.3 MB, free: 57.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.9182, allocations: 0.6287 MB / 416.9 MB, free: 57.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.9197, allocations: 0.9299 MB / 417.8 MB, free: 56.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.9213, allocations: 0.7791 MB / 418.6 MB, free: 55.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.9214, allocations: 0 / 418.6 MB, free: 55.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005454/0.9268, allocations: 2.128 MB / 420.7 MB, free: 53.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.9269, allocations: 8 kB / 420.7 MB, free: 53.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.927, allocations: 8 kB / 420.7 MB, free: 53.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/0.9287, allocations: 0.4908 MB / 421.2 MB, free: 52.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.9312, allocations: 335.5 kB / 421.6 MB, free: 52.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008066/0.9393, allocations: 6.338 MB / 427.9 MB, free: 45.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.9411, allocations: 55.94 kB / 428 MB, free: 45.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.9414, allocations: 67.98 kB / 428 MB, free: 45.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(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,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003542/0.9417, allocations: 132.7 kB / 428.2 MB, free: 45.43 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00457/0.9463, allocations: 1.846 MB / 430 MB, free: 43.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005451/0.9469, allocations: 142.4 kB / 430.1 MB, free: 43.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00495/0.9519, allocations: 1.964 MB / 432.1 MB, free: 41.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.9519, allocations: 12 kB / 432.1 MB, free: 41.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.952, allocations: 8 kB / 432.1 MB, free: 41.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/0.952, allocations: 7.969 kB / 432.1 MB, free: 41.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.9626, allocations: 3.925 MB / 436.1 MB, free: 37.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.9626, allocations: 4 kB / 436.1 MB, free: 37.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/0.9646, allocations: 223.7 kB / 436.3 MB, free: 37.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.967, allocations: 0.5545 MB / 436.8 MB, free: 36.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002775/0.9673, allocations: 15.98 kB / 436.9 MB, free: 36.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009682/0.977, allocations: 7.837 MB / 444.7 MB, free: 28.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.977, allocations: 3.953 kB / 444.7 MB, free: 28.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006157/0.9832, allocations: 3.031 MB / 447.7 MB, free: 25.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.9842, allocations: 355.3 kB / 448.1 MB, free: 24.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/0.9846, allocations: 11.98 kB / 448.1 MB, free: 24.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.9861, allocations: 56.11 kB / 448.1 MB, free: 24.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004306/0.9866, allocations: 105.2 kB / 448.2 MB, free: 24.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.9868, allocations: 39.92 kB / 448.3 MB, free: 24.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001287/0.9881, allocations: 0.6532 MB / 448.9 MB, free: 23.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.9881, allocations: 0 / 448.9 MB, free: 23.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002532/0.9906, allocations: 415.9 kB / 449.3 MB, free: 23.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007307/0.998, allocations: 4.38 MB / 453.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004672/1.003, allocations: 2.211 MB / 455.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.003, allocations: 0 / 455.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003128/1.006, allocations: 1.502 MB / 457.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/1.008, allocations: 292.7 kB / 457.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009155/1.018, allocations: 3.814 MB / 461.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/1.019, allocations: 1.686 MB / 463.2 MB, free: 9.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001607/1.021, allocations: 311.7 kB / 463.5 MB, free: 9.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/1.022, allocations: 0.6985 MB / 464.2 MB, free: 8.312 MB / 314.7 MB Notification: Performance of SimCode: time 1.011e-06/1.022, allocations: 0 / 464.2 MB, free: 8.312 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.133, allocations: 33.96 MB / 498.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003107/1.133, allocations: 180.4 kB / 498.4 MB, free: 6.117 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.56/4.693, allocations: 4.031 kB / 498.4 MB, free: 6.113 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_Steinmetz_res.mat does not exist to compare? outputFormat=mat