Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.84e-05, allocations: 0 / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.131, allocations: 47.58 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5572/0.6883, allocations: 103.9 MB / 420.9 MB, free: 64 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.6887, allocations: 86.62 kB / 421 MB, free: 16 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1834/0.8721, allocations: 41.36 MB / 462.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.8722, allocations: 4 kB / 462.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001907/0.8724, allocations: 51.88 kB / 462.4 MB, free: 13.1 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006876/0.8792, allocations: 1.98 MB / 464.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.8793, allocations: 12.03 kB / 464.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007953/0.8801, allocations: 276.2 kB / 464.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.8813, allocations: 269.1 kB / 464.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/0.8858, allocations: 1.367 MB / 466.3 MB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.886, allocations: 149.3 kB / 466.5 MB, free: 9.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005686/0.8866, allocations: 195.5 kB / 466.6 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006418/0.893, allocations: 2.351 MB / 469 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.278e-05/0.8931, allocations: 4 kB / 469 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/0.8934, allocations: 76 kB / 469.1 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.8936, allocations: 83.69 kB / 469.2 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005627/0.8993, allocations: 1.823 MB / 471 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02066/0.92, allocations: 7.839 MB / 478.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.9232, allocations: 1.35 MB / 480.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.9257, allocations: 0.9033 MB / 481.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/0.9262, allocations: 138 kB / 481.2 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.9263, allocations: 43.56 kB / 481.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 3.857e-06/0.9263, allocations: 0 / 481.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.02007/0.9464, allocations: 5.121 MB / 486.4 MB, free: 5.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.9465, allocations: 68.72 kB / 486.4 MB, free: 5.176 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/0.9492, allocations: 1.081 MB / 487.5 MB, free: 4.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00034/0.9496, allocations: 53.7 kB / 487.6 MB, free: 4.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.9506, allocations: 0.8776 MB / 488.4 MB, free: 3.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000755/0.9514, allocations: 437.6 kB / 488.9 MB, free: 2.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.9515, allocations: 32 kB / 488.9 MB, free: 2.672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.9517, allocations: 365.9 kB / 489.3 MB, free: 2.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.9536, allocations: 0.6521 MB / 489.9 MB, free: 1.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.9557, allocations: 0.9533 MB / 490.9 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.958, allocations: 0.8091 MB / 491.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.958, allocations: 4 kB / 491.7 MB, free: 15.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006733/0.9648, allocations: 2.253 MB / 493.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.9648, allocations: 8 kB / 493.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.9649, allocations: 8 kB / 494 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/0.967, allocations: 0.5039 MB / 494.5 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/0.9697, allocations: 331.4 kB / 494.8 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.9806, allocations: 6.644 MB / 0.4897 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.9827, allocations: 87.83 kB / 0.4898 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.9829, allocations: 51.98 kB / 0.4898 GB, free: 5.445 MB / 410.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.0004284/0.9834, allocations: 188.6 kB / 0.49 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/0.9838, allocations: 150.3 kB / 0.4901 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006255/0.9901, allocations: 2.098 MB / 0.4922 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.9901, allocations: 12 kB / 0.4922 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/0.9902, allocations: 7.953 kB / 0.4922 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/0.9902, allocations: 4.078 kB / 0.4922 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/1.003, allocations: 4.296 MB / 0.4964 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.003, allocations: 7.984 kB / 0.4964 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/1.005, allocations: 220 kB / 0.4966 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/1.007, allocations: 0.5466 MB / 0.4971 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/1.008, allocations: 31.98 kB / 0.4972 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/1.02, allocations: 8.195 MB / 0.5052 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.02, allocations: 4.062 kB / 0.5052 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007874/1.028, allocations: 3.148 MB / 0.5083 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.029, allocations: 375.1 kB / 0.5086 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003322/1.03, allocations: 35.94 kB / 0.5086 GB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.031, allocations: 71.92 kB / 0.5087 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/1.032, allocations: 108.8 kB / 0.5088 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.032, allocations: 36.09 kB / 0.5089 GB, free: 1.129 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001868/1.034, allocations: 0.8382 MB / 0.5097 GB, free: 292 kB / 426.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.034, allocations: 0 / 0.5097 GB, free: 292 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.3108/1.345, allocations: 482.2 kB / 0.5101 GB, free: 117.7 MB / 426.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.01464/1.359, allocations: 4.502 MB / 0.5145 GB, free: 116.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00822/1.368, allocations: 2.247 MB / 0.5167 GB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/1.368, allocations: 5.375 kB / 0.5167 GB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00567/1.373, allocations: 1.526 MB / 0.5182 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004802/1.378, allocations: 375.5 kB / 0.5186 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/1.396, allocations: 3.97 MB / 0.5225 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004204/1.401, allocations: 1.691 MB / 0.5241 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003239/1.404, allocations: 335.2 kB / 0.5244 GB, free: 113.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002738/1.407, allocations: 0.7187 MB / 0.5251 GB, free: 113.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.194e-06/1.407, allocations: 4 kB / 0.5251 GB, free: 113.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/1.542, allocations: 40.65 MB / 0.5648 GB, free: 103.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/1.542, allocations: 212.9 kB / 0.565 GB, free: 103.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.046/5.588, allocations: 0 / 0.565 GB, free: 103.3 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_Steinmetz_res.mat does not exist to compare? outputFormat=mat