Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.637/1.637, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.442e-05, allocations: 0 / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2524, allocations: 38.77 MB / 263.9 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.4158, allocations: 94.13 MB / 358 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.4162, allocations: 83.95 kB / 358.1 MB, free: 11.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3946/0.8108, allocations: 44.41 MB / 402.5 MB, free: 71.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.8109, allocations: 0 / 402.5 MB, free: 71.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002035/0.8111, allocations: 63.86 kB / 402.5 MB, free: 71.65 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.007242/0.8183, allocations: 2.185 MB / 404.7 MB, free: 69.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.8184, allocations: 8.031 kB / 404.7 MB, free: 69.41 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000983/0.8194, allocations: 291.2 kB / 405 MB, free: 69.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.8208, allocations: 292.9 kB / 405.3 MB, free: 68.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.8253, allocations: 1.503 MB / 406.8 MB, free: 67.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.8255, allocations: 148 kB / 406.9 MB, free: 67.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007282/0.8262, allocations: 200 kB / 407.1 MB, free: 66.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006914/0.8332, allocations: 2.593 MB / 409.7 MB, free: 64.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.8333, allocations: 11.84 kB / 409.7 MB, free: 64.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/0.8337, allocations: 87.98 kB / 409.8 MB, free: 64.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.8338, allocations: 91.89 kB / 409.9 MB, free: 64.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005969/0.8398, allocations: 2.085 MB / 412 MB, free: 61.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01971/0.8595, allocations: 8.383 MB / 420.4 MB, free: 53.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.8625, allocations: 1.766 MB / 422.2 MB, free: 51.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.8648, allocations: 0.9566 MB / 423.1 MB, free: 50.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.8652, allocations: 142 kB / 423.3 MB, free: 50.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.8653, allocations: 47.5 kB / 423.3 MB, free: 50.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 3.897e-06/0.8653, allocations: 0 / 423.3 MB, free: 50.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.01777/0.8831, allocations: 5.234 MB / 428.5 MB, free: 44.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.8832, allocations: 68.34 kB / 428.6 MB, free: 44.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.8857, allocations: 1.281 MB / 429.9 MB, free: 43.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00027/0.886, allocations: 45.7 kB / 429.9 MB, free: 43.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006136/0.8866, allocations: 0.9258 MB / 430.9 MB, free: 42.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004523/0.8871, allocations: 425.8 kB / 431.3 MB, free: 42.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.8872, allocations: 27.94 kB / 431.3 MB, free: 42.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8874, allocations: 366.8 kB / 431.7 MB, free: 41.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.8889, allocations: 0.6989 MB / 432.4 MB, free: 41.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.8906, allocations: 0.9877 MB / 433.3 MB, free: 40 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.8924, allocations: 0.8481 MB / 434.2 MB, free: 39.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.8924, allocations: 4 kB / 434.2 MB, free: 39.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00511/0.8975, allocations: 2.132 MB / 436.3 MB, free: 36.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.8976, allocations: 11.95 kB / 436.3 MB, free: 36.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.8976, allocations: 8 kB / 436.3 MB, free: 36.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.8992, allocations: 415.3 kB / 436.7 MB, free: 36.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/0.9018, allocations: 339.5 kB / 437.1 MB, free: 36.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006206/0.908, allocations: 4.625 MB / 441.7 MB, free: 31.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.9101, allocations: 95.97 kB / 441.8 MB, free: 31.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.9104, allocations: 55.98 kB / 441.9 MB, free: 31.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000379/0.9107, allocations: 188.5 kB / 442 MB, free: 30.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004359/0.9112, allocations: 162 kB / 442.2 MB, free: 30.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005095/0.9163, allocations: 2.09 MB / 444.3 MB, free: 28.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.9164, allocations: 12 kB / 444.3 MB, free: 28.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.9164, allocations: 7.984 kB / 444.3 MB, free: 28.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.9164, allocations: 7.938 kB / 444.3 MB, free: 28.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.9277, allocations: 4.508 MB / 448.8 MB, free: 24.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.9277, allocations: 4 kB / 448.8 MB, free: 24.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/0.9297, allocations: 244 kB / 449.1 MB, free: 23.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.9318, allocations: 463.3 kB / 449.5 MB, free: 23.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.932, allocations: 31.98 kB / 449.5 MB, free: 23.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007668/0.9397, allocations: 6.16 MB / 455.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.9397, allocations: 7.938 kB / 455.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006809/0.9465, allocations: 3.289 MB / 459 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.9478, allocations: 406.9 kB / 459.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004893/0.9483, allocations: 31.98 kB / 459.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.95, allocations: 75.92 kB / 459.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003958/0.9504, allocations: 108.8 kB / 459.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.9506, allocations: 35.98 kB / 459.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001998/0.9526, allocations: 0.9878 MB / 460.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.9526, allocations: 0 / 460.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002468/0.9551, allocations: 496.1 kB / 461.1 MB, free: 11.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007692/0.9628, allocations: 4.782 MB / 465.9 MB, free: 6.301 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004682/0.9676, allocations: 2.165 MB / 468.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.9676, allocations: 5.875 kB / 468.1 MB, free: 4.066 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003307/0.9709, allocations: 1.448 MB / 469.5 MB, free: 2.566 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.9743, allocations: 404.6 kB / 469.9 MB, free: 2.172 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.9863, allocations: 4.278 MB / 474.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/0.989, allocations: 1.842 MB / 476 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/0.991, allocations: 0.7844 MB / 476.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.9911, allocations: 0 / 476.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.917/4.908, allocations: 77.49 MB / 0.5413 GB, free: 69.16 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_DOL_res.mat does not exist to compare? outputFormat=mat