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.615/1.615, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.886e-05, allocations: 4 kB / 225.1 MB, free: 2.68 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 38.76 MB / 263.8 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.4139, allocations: 95.18 MB / 359 MB, free: 10.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.4143, allocations: 79.95 kB / 359.1 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4003/0.8146, allocations: 49.08 MB / 408.2 MB, free: 65.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.8147, allocations: 0 / 408.2 MB, free: 65.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002303/0.8149, allocations: 71.92 kB / 408.3 MB, free: 65.81 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.007859/0.8228, allocations: 2.46 MB / 410.7 MB, free: 63.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.8229, allocations: 12.03 kB / 410.7 MB, free: 63.28 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009461/0.8238, allocations: 325.3 kB / 411 MB, free: 62.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.8251, allocations: 328.4 kB / 411.4 MB, free: 62.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/0.8298, allocations: 1.685 MB / 413.1 MB, free: 60.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.83, allocations: 172.5 kB / 413.2 MB, free: 60.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006588/0.8307, allocations: 231.9 kB / 413.4 MB, free: 60.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00721/0.8379, allocations: 3.023 MB / 416.5 MB, free: 57.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.8381, allocations: 11.98 kB / 416.5 MB, free: 57.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003451/0.8384, allocations: 92 kB / 416.6 MB, free: 57.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.8386, allocations: 96.34 kB / 416.7 MB, free: 57.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006514/0.8451, allocations: 2.465 MB / 419.1 MB, free: 54.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.8671, allocations: 9.887 MB / 429 MB, free: 44.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.8706, allocations: 2.07 MB / 431.1 MB, free: 42.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/0.8728, allocations: 1.083 MB / 432.2 MB, free: 41.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003814/0.8732, allocations: 134.4 kB / 432.3 MB, free: 41.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.8733, allocations: 47.88 kB / 432.3 MB, free: 41.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 3.908e-06/0.8733, allocations: 0.5625 kB / 432.4 MB, free: 41.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.01948/0.8928, allocations: 6.292 MB / 438.6 MB, free: 34.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.8928, allocations: 68.72 kB / 438.7 MB, free: 34.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.8957, allocations: 1.422 MB / 440.1 MB, free: 33.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000285/0.896, allocations: 53.7 kB / 440.2 MB, free: 33.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000658/0.8967, allocations: 1.008 MB / 441.2 MB, free: 32.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/0.8972, allocations: 484.9 kB / 441.7 MB, free: 31.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.8973, allocations: 35.94 kB / 441.7 MB, free: 31.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8975, allocations: 378.8 kB / 442.1 MB, free: 31.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.8994, allocations: 0.8628 MB / 442.9 MB, free: 30.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.9013, allocations: 1.168 MB / 444.1 MB, free: 29.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.9034, allocations: 1.008 MB / 445.1 MB, free: 28.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.9034, allocations: 3.938 kB / 445.1 MB, free: 28.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00652/0.91, allocations: 2.777 MB / 447.9 MB, free: 25.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.91, allocations: 15.98 kB / 447.9 MB, free: 25.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.9101, allocations: 8 kB / 447.9 MB, free: 25.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003057/0.9131, allocations: 0.8378 MB / 448.8 MB, free: 24.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/0.9154, allocations: 315.5 kB / 449.1 MB, free: 24.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/0.929, allocations: 9.063 MB / 458.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.9313, allocations: 99.97 kB / 458.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.9315, allocations: 63.98 kB / 458.3 MB, free: 14.4 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.0004116/0.9319, allocations: 200.5 kB / 458.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.9324, allocations: 181.8 kB / 458.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006756/0.9391, allocations: 2.784 MB / 461.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.9392, allocations: 12 kB / 461.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.9392, allocations: 8 kB / 461.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/0.9393, allocations: 7.969 kB / 461.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.953, allocations: 5.566 MB / 467 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.953, allocations: 0 / 467 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.9548, allocations: 207.7 kB / 467.2 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003573/0.9584, allocations: 0.8945 MB / 468.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002472/0.9587, allocations: 43.92 kB / 468.2 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/0.976, allocations: 10.56 MB / 478.7 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.976, allocations: 3.938 kB / 478.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.9865, allocations: 4.211 MB / 483 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.9881, allocations: 470.6 kB / 483.4 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004296/0.9886, allocations: 31.98 kB / 483.4 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.9903, allocations: 99.89 kB / 483.5 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/0.9908, allocations: 137 kB / 483.7 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.991, allocations: 39.98 kB / 483.7 MB, free: 4.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002499/0.9935, allocations: 1.099 MB / 484.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-07/0.9935, allocations: 0 / 484.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002989/0.9965, allocations: 0.5822 MB / 485.4 MB, free: 2.434 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.01162/1.008, allocations: 5.582 MB / 491 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007161/1.015, allocations: 2.829 MB / 493.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.015, allocations: 5.938 kB / 493.8 MB, free: 9.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005031/1.02, allocations: 1.945 MB / 495.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.024, allocations: 465.2 kB / 496.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.038, allocations: 4.906 MB / 0.4894 GB, free: 2.383 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/1.041, allocations: 2.023 MB / 0.4913 GB, free: 336 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2393/1.28, allocations: 0.885 MB / 0.4922 GB, free: 90.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.854e-06/1.28, allocations: 0 / 0.4922 GB, free: 90.4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.908/5.188, allocations: 99.7 MB / 0.5896 GB, free: 18.04 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