Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.718e-05/4.727e-05, allocations: 8 kB / 269.5 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 47.56 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4763/0.6041, allocations: 104.7 MB / 421.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.6045, allocations: 81.64 kB / 421.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2191/0.8237, allocations: 49.06 MB / 470.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.091e-06/0.8237, allocations: 4 kB / 470.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003421/0.8241, allocations: 63.88 kB / 470.9 MB, free: 5.309 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.01003/0.8341, allocations: 2.464 MB / 473.4 MB, free: 2.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.8342, allocations: 8.031 kB / 473.4 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001484/0.8357, allocations: 337 kB / 473.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.8378, allocations: 324.4 kB / 474 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006722/0.8446, allocations: 1.732 MB / 475.8 MB, free: 336 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/0.845, allocations: 168.6 kB / 475.9 MB, free: 164 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.8462, allocations: 240 kB / 476.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/0.8576, allocations: 3.051 MB / 479.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.8578, allocations: 7.891 kB / 479.2 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007907/0.8586, allocations: 96 kB / 479.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.8588, allocations: 96.44 kB / 479.4 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0093/0.8681, allocations: 2.484 MB / 481.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03069/0.8988, allocations: 9.926 MB / 491.8 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004681/0.9036, allocations: 2.066 MB / 493.9 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00313/0.9068, allocations: 1.094 MB / 495 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000551/0.9074, allocations: 138.4 kB / 495.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.9075, allocations: 51.81 kB / 495.2 MB, free: 12.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 5.31e-06/0.9075, allocations: 0 / 495.2 MB, free: 12.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.03002/0.9375, allocations: 6.281 MB / 0.4897 GB, free: 6.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.9376, allocations: 72.67 kB / 0.4898 GB, free: 5.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004775/0.9424, allocations: 1.441 MB / 0.4912 GB, free: 4.477 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000456/0.943, allocations: 57.7 kB / 0.4912 GB, free: 4.414 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.9445, allocations: 1.07 MB / 0.4923 GB, free: 3.328 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009693/0.9455, allocations: 496.8 kB / 0.4928 GB, free: 2.836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.9458, allocations: 32 kB / 0.4928 GB, free: 2.805 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.9461, allocations: 369.9 kB / 0.4931 GB, free: 2.438 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/0.9492, allocations: 0.8589 MB / 0.494 GB, free: 1.578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003555/0.9528, allocations: 1.168 MB / 0.4951 GB, free: 288 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/0.9567, allocations: 1.012 MB / 0.4961 GB, free: 15.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/0.9568, allocations: 0 / 0.4961 GB, free: 15.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.0126/0.9694, allocations: 2.897 MB / 0.4989 GB, free: 12.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.9695, allocations: 16 kB / 0.499 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.9696, allocations: 8 kB / 0.499 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005105/0.9747, allocations: 0.8336 MB / 0.4998 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/0.9782, allocations: 315.5 kB / 0.5001 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/1.002, allocations: 9.061 MB / 0.5089 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/1.004, allocations: 111.9 kB / 0.509 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/1.005, allocations: 56 kB / 0.5091 GB, free: 1.527 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005277/1.005, allocations: 205.1 kB / 0.5093 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006916/1.006, allocations: 177.8 kB / 0.5095 GB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3182/1.324, allocations: 2.774 MB / 0.5122 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-05/1.324, allocations: 14.19 kB / 0.5122 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/1.324, allocations: 10.84 kB / 0.5122 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/1.325, allocations: 6.656 kB / 0.5122 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/1.34, allocations: 5.578 MB / 0.5176 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.34, allocations: 5.906 kB / 0.5176 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.342, allocations: 207 kB / 0.5178 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003944/1.346, allocations: 0.8911 MB / 0.5187 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/1.346, allocations: 36 kB / 0.5187 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/1.362, allocations: 10.58 MB / 0.5291 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/1.362, allocations: 5.219 kB / 0.5291 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008952/1.371, allocations: 4.201 MB / 0.5332 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.372, allocations: 473.2 kB / 0.5336 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.373, allocations: 36.31 kB / 0.5337 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.375, allocations: 88.78 kB / 0.5338 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004838/1.375, allocations: 148.8 kB / 0.5339 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.375, allocations: 47.89 kB / 0.5339 GB, free: 106.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002126/1.377, allocations: 1.104 MB / 0.535 GB, free: 106.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.377, allocations: 3.781 kB / 0.535 GB, free: 106.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00263/1.38, allocations: 0.5907 MB / 0.5356 GB, free: 106.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009707/1.39, allocations: 5.549 MB / 0.541 GB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006279/1.396, allocations: 2.839 MB / 0.5438 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.396, allocations: 0 / 0.5438 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004445/1.401, allocations: 1.954 MB / 0.5457 GB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/1.404, allocations: 494.5 kB / 0.5462 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.416, allocations: 4.917 MB / 0.551 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/1.419, allocations: 2.075 MB / 0.553 GB, free: 99.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002055/1.421, allocations: 400.5 kB / 0.5534 GB, free: 99.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/1.422, allocations: 0.8831 MB / 0.5542 GB, free: 98.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/1.422, allocations: 0 / 0.5542 GB, free: 98.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/1.55, allocations: 51.68 MB / 0.6047 GB, free: 66.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.55, allocations: 197.4 kB / 0.6049 GB, free: 66.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.108/5.658, allocations: 4 kB / 0.6049 GB, free: 66.48 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_YD_res.mat does not exist to compare? outputFormat=mat