Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.763e-05, allocations: 8 kB / 219.6 MB, free: 7.316 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2779, allocations: 38.76 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.212/0.4899, allocations: 94.5 MB / 352.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003961/0.4904, allocations: 83.95 kB / 352.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4226/0.913, allocations: 48.44 MB / 401.4 MB, free: 73.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.913, allocations: 0 / 401.4 MB, free: 73.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001922/0.9133, allocations: 59.94 kB / 401.4 MB, free: 73.88 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.006635/0.9199, allocations: 2.463 MB / 403.9 MB, free: 71.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.92, allocations: 8.031 kB / 403.9 MB, free: 71.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.9211, allocations: 328.8 kB / 404.2 MB, free: 71.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004072/0.9252, allocations: 1.688 MB / 405.9 MB, free: 69.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.5e-05/0.9253, allocations: 76 kB / 406 MB, free: 69.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004218/0.9257, allocations: 139.9 kB / 406.1 MB, free: 69.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005355/0.9311, allocations: 2.363 MB / 408.5 MB, free: 66.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005641/0.9368, allocations: 2.73 MB / 411.2 MB, free: 63.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.28e-05/0.9369, allocations: 7.984 kB / 411.2 MB, free: 63.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002803/0.9372, allocations: 0 / 411.2 MB, free: 63.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.9373, allocations: 96.41 kB / 411.3 MB, free: 63.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.9565, allocations: 9.444 MB / 420.7 MB, free: 54.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.9595, allocations: 2.027 MB / 422.8 MB, free: 52.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.9614, allocations: 1.052 MB / 423.8 MB, free: 50.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/0.9618, allocations: 130.4 kB / 423.9 MB, free: 50.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.9619, allocations: 47.88 kB / 424 MB, free: 50.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 3.787e-06/0.9619, allocations: 0 / 424 MB, free: 50.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.01326/0.9751, allocations: 5.333 MB / 429.3 MB, free: 45.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.9752, allocations: 68.72 kB / 429.4 MB, free: 45.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.9773, allocations: 1.185 MB / 430.6 MB, free: 44.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.9775, allocations: 25.7 kB / 430.6 MB, free: 44.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006109/0.9781, allocations: 1.039 MB / 431.6 MB, free: 43.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.9785, allocations: 476.9 kB / 432.1 MB, free: 42.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.9787, allocations: 0 / 432.1 MB, free: 42.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.9788, allocations: 374.7 kB / 432.5 MB, free: 42.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.9804, allocations: 0.8316 MB / 433.3 MB, free: 41.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.9822, allocations: 1.137 MB / 434.4 MB, free: 40.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.9841, allocations: 0.986 MB / 435.4 MB, free: 39.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.9841, allocations: 0 / 435.4 MB, free: 39.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00596/0.9901, allocations: 2.652 MB / 438.1 MB, free: 36.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.9901, allocations: 15.59 kB / 438.1 MB, free: 36.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.9902, allocations: 8 kB / 438.1 MB, free: 36.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/0.9931, allocations: 0.7993 MB / 438.9 MB, free: 35.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.9952, allocations: 315.5 kB / 439.2 MB, free: 35.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/1.008, allocations: 8.726 MB / 447.9 MB, free: 26.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.01, allocations: 71.81 kB / 448 MB, free: 26.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/1.01, allocations: 56 kB / 448.1 MB, free: 26.07 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.000378/1.01, allocations: 144.7 kB / 448.2 MB, free: 25.93 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005584/1.016, allocations: 2.478 MB / 450.7 MB, free: 23.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/1.016, allocations: 169.9 kB / 450.8 MB, free: 23.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006023/1.022, allocations: 2.642 MB / 453.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/1.022, allocations: 16 kB / 453.5 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.022, allocations: 8 kB / 453.5 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.022, allocations: 7.969 kB / 453.5 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/1.034, allocations: 5.149 MB / 458.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.034, allocations: 4 kB / 458.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/1.036, allocations: 207.7 kB / 458.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00334/1.039, allocations: 0.859 MB / 459.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.039, allocations: 15.98 kB / 459.7 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/1.053, allocations: 10.2 MB / 469.9 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/1.053, allocations: 0 / 469.9 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00831/1.061, allocations: 4.058 MB / 474 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.063, allocations: 454.8 kB / 474.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/1.063, allocations: 8 kB / 474.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.065, allocations: 72.22 kB / 474.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005339/1.065, allocations: 133.1 kB / 474.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.065, allocations: 43.98 kB / 474.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001903/1.067, allocations: 0.8997 MB / 475.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.067, allocations: 3.938 kB / 475.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002614/1.07, allocations: 0.5039 MB / 476.1 MB, free: 13.27 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.01032/1.08, allocations: 5.399 MB / 481.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006344/1.087, allocations: 2.791 MB / 484.3 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.862e-06/1.087, allocations: 1.938 kB / 484.3 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00485/1.091, allocations: 1.914 MB / 486.2 MB, free: 2.945 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/1.095, allocations: 373.8 kB / 486.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.108, allocations: 4.769 MB / 491.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/1.111, allocations: 2.023 MB / 493.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/1.113, allocations: 0.8859 MB / 494.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/1.113, allocations: 0 / 494.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.922/5.035, allocations: 98.12 MB / 0.5785 GB, free: 33.06 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat does not exist to compare? outputFormat=mat