Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.687/1.687, allocations: 171.2 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.34e-05, allocations: 0 / 219.6 MB, free: 6.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2592, allocations: 38.77 MB / 258.4 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.4211, allocations: 94.5 MB / 352.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.4215, allocations: 83.95 kB / 352.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4244/0.8459, allocations: 48.44 MB / 401.4 MB, free: 73.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.846, allocations: 0 / 401.4 MB, free: 73.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002516/0.8463, allocations: 63.84 kB / 401.4 MB, free: 73.78 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.008301/0.8546, allocations: 2.467 MB / 403.9 MB, free: 71.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.8547, allocations: 12.03 kB / 403.9 MB, free: 71.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.8561, allocations: 332.8 kB / 404.2 MB, free: 70.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004554/0.8607, allocations: 1.684 MB / 405.9 MB, free: 69.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.8609, allocations: 72 kB / 406 MB, free: 69.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005839/0.8615, allocations: 139.9 kB / 406.1 MB, free: 69 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006808/0.8683, allocations: 2.363 MB / 408.5 MB, free: 66.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009011/0.8773, allocations: 2.726 MB / 411.2 MB, free: 63.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.8775, allocations: 8 kB / 411.2 MB, free: 63.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/0.8779, allocations: 4 kB / 411.2 MB, free: 63.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.878, allocations: 92.41 kB / 411.3 MB, free: 63.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02281/0.9008, allocations: 9.438 MB / 420.8 MB, free: 54.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.904, allocations: 2.031 MB / 422.8 MB, free: 51.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.9062, allocations: 1.044 MB / 423.8 MB, free: 50.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004113/0.9067, allocations: 134.4 kB / 424 MB, free: 50.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.9067, allocations: 55.88 kB / 424 MB, free: 50.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 4.158e-06/0.9068, allocations: 0 / 424 MB, free: 50.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.01449/0.9213, allocations: 5.322 MB / 429.3 MB, free: 45.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.9213, allocations: 72.7 kB / 429.4 MB, free: 45.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.9237, allocations: 1.181 MB / 430.6 MB, free: 44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.924, allocations: 29.7 kB / 430.6 MB, free: 43.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008354/0.9249, allocations: 1.08 MB / 431.7 MB, free: 42.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005655/0.9255, allocations: 472.9 kB / 432.2 MB, free: 42.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.9256, allocations: 0 / 432.2 MB, free: 42.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9258, allocations: 369.9 kB / 432.5 MB, free: 42.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.9275, allocations: 0.8277 MB / 433.4 MB, free: 41.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.9293, allocations: 1.145 MB / 434.5 MB, free: 39.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.9313, allocations: 0.9821 MB / 435.5 MB, free: 38.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.9314, allocations: 0 / 435.5 MB, free: 38.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006525/0.9379, allocations: 2.756 MB / 438.2 MB, free: 36.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.938, allocations: 8 kB / 438.3 MB, free: 36.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.938, allocations: 8 kB / 438.3 MB, free: 36.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003097/0.9411, allocations: 0.8071 MB / 439.1 MB, free: 35.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.9435, allocations: 315.5 kB / 439.4 MB, free: 35.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.9567, allocations: 8.721 MB / 448.1 MB, free: 25.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.9589, allocations: 71.89 kB / 448.2 MB, free: 25.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.9591, allocations: 56 kB / 448.2 MB, free: 25.84 MB / 314.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.0004113/0.9595, allocations: 140.7 kB / 448.4 MB, free: 25.7 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005802/0.9653, allocations: 2.489 MB / 450.8 MB, free: 23.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000436/0.9658, allocations: 169.9 kB / 451 MB, free: 23.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006231/0.972, allocations: 2.634 MB / 453.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.9721, allocations: 16 kB / 453.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.9721, allocations: 8 kB / 453.7 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-05/0.9722, allocations: 7.969 kB / 453.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.9853, allocations: 5.148 MB / 458.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.9854, allocations: 4 kB / 458.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/0.9872, allocations: 204 kB / 459 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003646/0.9909, allocations: 0.8627 MB / 459.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002988/0.9912, allocations: 19.97 kB / 459.9 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01647/1.008, allocations: 10.2 MB / 470.1 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.008, allocations: 0 / 470.1 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.021, allocations: 4.055 MB / 474.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/1.023, allocations: 446.9 kB / 474.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007508/1.024, allocations: 15.98 kB / 474.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01483/1.039, allocations: 72.22 kB / 474.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008558/1.04, allocations: 133.1 kB / 474.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/1.04, allocations: 43.98 kB / 474.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002882/1.043, allocations: 0.8997 MB / 475.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.043, allocations: 3.938 kB / 475.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.01201/1.055, allocations: 0.5039 MB / 476.3 MB, free: 13.04 MB / 330.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.02735/1.083, allocations: 5.403 MB / 481.7 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01041/1.093, allocations: 2.787 MB / 484.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.093, allocations: 1.938 kB / 484.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007544/1.101, allocations: 1.918 MB / 486.4 MB, free: 2.707 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005231/1.106, allocations: 378.8 kB / 486.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.128, allocations: 4.763 MB / 491.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0049/1.133, allocations: 2.063 MB / 493.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003379/1.136, allocations: 382 kB / 493.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003288/1.14, allocations: 0.8781 MB / 494.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of SimCode: time 1.823e-06/1.14, allocations: 0 / 494.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3565/1.496, allocations: 43.91 MB / 0.5261 GB, free: 87.53 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.497, allocations: 175.8 kB / 0.5263 GB, free: 87.33 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.988/5.484, allocations: 0 / 0.5263 GB, free: 87.33 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_YD_res.mat does not exist to compare? outputFormat=mat