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.704/1.704, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.618e-05, allocations: 4 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2835, allocations: 38.76 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.4511, allocations: 94.12 MB / 358 MB, free: 11.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.4515, allocations: 83.94 kB / 358 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3995/0.851, allocations: 44.42 MB / 402.5 MB, free: 71.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.8511, allocations: 0 / 402.5 MB, free: 71.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002406/0.8513, allocations: 51.94 kB / 402.5 MB, free: 71.5 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.0078/0.8591, allocations: 2.185 MB / 404.7 MB, free: 69.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.8592, allocations: 12.03 kB / 404.7 MB, free: 69.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001164/0.8604, allocations: 295.2 kB / 405 MB, free: 68.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.8622, allocations: 284.9 kB / 405.3 MB, free: 68.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004896/0.8672, allocations: 1.503 MB / 406.8 MB, free: 67.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.8674, allocations: 148 kB / 406.9 MB, free: 66.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008784/0.8683, allocations: 196 kB / 407.1 MB, free: 66.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008299/0.8766, allocations: 2.62 MB / 409.7 MB, free: 64.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/0.8768, allocations: 15.89 kB / 409.7 MB, free: 64.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005499/0.8774, allocations: 88 kB / 409.8 MB, free: 63.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.8775, allocations: 79.89 kB / 409.9 MB, free: 63.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006725/0.8843, allocations: 2.116 MB / 412 MB, free: 61.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02264/0.907, allocations: 8.387 MB / 420.4 MB, free: 53.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/0.9103, allocations: 1.772 MB / 422.2 MB, free: 51.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/0.913, allocations: 0.9683 MB / 423.1 MB, free: 50.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.9135, allocations: 134 kB / 423.3 MB, free: 50.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.9135, allocations: 47.56 kB / 423.3 MB, free: 50.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 4.418e-06/0.9136, allocations: 0 / 423.3 MB, free: 50.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.01878/0.9324, allocations: 5.246 MB / 428.6 MB, free: 44.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.9324, allocations: 64.41 kB / 428.6 MB, free: 44.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.9355, allocations: 1.281 MB / 429.9 MB, free: 43.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003255/0.9358, allocations: 45.7 kB / 430 MB, free: 43.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007125/0.9366, allocations: 0.9181 MB / 430.9 MB, free: 42.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005903/0.9372, allocations: 433.8 kB / 431.3 MB, free: 41.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.9373, allocations: 31.94 kB / 431.3 MB, free: 41.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.9375, allocations: 366.8 kB / 431.7 MB, free: 41.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.9392, allocations: 0.695 MB / 432.4 MB, free: 40.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.9412, allocations: 1.003 MB / 433.4 MB, free: 39.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.9433, allocations: 0.8403 MB / 434.2 MB, free: 38.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.9434, allocations: 4 kB / 434.2 MB, free: 38.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005775/0.9491, allocations: 2.167 MB / 436.4 MB, free: 36.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.9492, allocations: 15.98 kB / 436.4 MB, free: 36.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.9493, allocations: 8 kB / 436.4 MB, free: 36.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/0.9509, allocations: 403.1 kB / 436.8 MB, free: 36.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.9535, allocations: 339.5 kB / 437.1 MB, free: 35.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/0.9602, allocations: 4.632 MB / 441.8 MB, free: 31.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.9623, allocations: 91.97 kB / 441.9 MB, free: 30.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003726/0.9628, allocations: 52 kB / 441.9 MB, free: 30.92 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.0004055/0.9632, allocations: 186.1 kB / 442.1 MB, free: 30.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005425/0.9637, allocations: 162 kB / 442.3 MB, free: 30.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005726/0.9695, allocations: 2.102 MB / 444.4 MB, free: 28.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.9696, allocations: 16 kB / 444.4 MB, free: 28.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.9696, allocations: 4 kB / 444.4 MB, free: 28.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-05/0.9697, allocations: 7.938 kB / 444.4 MB, free: 28.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.9823, allocations: 4.512 MB / 448.9 MB, free: 23.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.9824, allocations: 0 / 448.9 MB, free: 23.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/0.9845, allocations: 236 kB / 449.1 MB, free: 23.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.9867, allocations: 471.3 kB / 449.6 MB, free: 23.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003157/0.9871, allocations: 35.97 kB / 449.6 MB, free: 23.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008133/0.9953, allocations: 6.16 MB / 455.8 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.9953, allocations: 11.94 kB / 455.8 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007462/1.003, allocations: 3.289 MB / 459.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.004, allocations: 410.9 kB / 459.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000566/1.005, allocations: 28 kB / 459.5 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/1.007, allocations: 83.91 kB / 459.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005241/1.007, allocations: 104.8 kB / 459.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.008, allocations: 35.98 kB / 459.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002284/1.01, allocations: 0.9878 MB / 460.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.263e-06/1.01, allocations: 0 / 460.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002621/1.013, allocations: 492.1 kB / 461.2 MB, free: 10.91 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.008581/1.021, allocations: 4.779 MB / 466 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005234/1.026, allocations: 2.215 MB / 468.2 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.027, allocations: 0 / 468.2 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003723/1.03, allocations: 1.469 MB / 469.7 MB, free: 2.203 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/1.034, allocations: 409.4 kB / 470.1 MB, free: 1.805 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/1.047, allocations: 4.298 MB / 474.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/1.051, allocations: 1.834 MB / 476.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00233/1.053, allocations: 0.7844 MB / 477 MB, free: 10.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.894e-06/1.053, allocations: 3.938 kB / 477 MB, free: 10.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.704/4.757, allocations: 77.69 MB / 0.5417 GB, free: 68.24 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