Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.635e-05/4.665e-05, allocations: 7.984 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.09855, allocations: 44.52 MB / 299.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4325/0.5311, allocations: 99.31 MB / 399.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.5314, allocations: 88.56 kB / 399.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.182/0.7135, allocations: 44.52 MB / 443.9 MB, free: 6.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7135, allocations: 0 / 443.9 MB, free: 6.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002768/0.7138, allocations: 55.88 kB / 443.9 MB, free: 6.129 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008525/0.7223, allocations: 2.186 MB / 446.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.7224, allocations: 8.031 kB / 446.1 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001129/0.7236, allocations: 295.8 kB / 446.4 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.7251, allocations: 292.8 kB / 446.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005352/0.7305, allocations: 1.544 MB / 448.2 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.7307, allocations: 151 kB / 448.4 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008826/0.7316, allocations: 206.5 kB / 448.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008139/0.7398, allocations: 2.65 MB / 451.2 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.74, allocations: 4 kB / 451.2 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/0.7403, allocations: 86.75 kB / 451.3 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.7405, allocations: 86.44 kB / 451.4 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007312/0.7478, allocations: 2.144 MB / 453.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02527/0.7731, allocations: 8.447 MB / 462 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/0.777, allocations: 1.763 MB / 463.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002864/0.7799, allocations: 0.9606 MB / 464.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/0.7805, allocations: 137.9 kB / 464.9 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.7806, allocations: 52.11 kB / 464.9 MB, free: 2.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 3.807e-06/0.7806, allocations: 3.938 kB / 464.9 MB, free: 2.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.02045/0.8011, allocations: 5.236 MB / 470.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.8012, allocations: 68.39 kB / 470.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.8046, allocations: 1.297 MB / 471.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003672/0.805, allocations: 49.7 kB / 471.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009852/0.806, allocations: 0.9335 MB / 472.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007179/0.8068, allocations: 421.7 kB / 472.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.8069, allocations: 27.94 kB / 472.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.8071, allocations: 374.8 kB / 473.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.8091, allocations: 0.695 MB / 474 MB, free: 9.438 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.8114, allocations: 0.9994 MB / 475 MB, free: 8.312 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.8138, allocations: 0.8442 MB / 475.8 MB, free: 7.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.8139, allocations: 0 / 475.8 MB, free: 7.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006477/0.8204, allocations: 2.167 MB / 478 MB, free: 5.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.8205, allocations: 8 kB / 478 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.8205, allocations: 8 kB / 478 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.8222, allocations: 419.3 kB / 478.4 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/0.8251, allocations: 339.5 kB / 478.8 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008091/0.8332, allocations: 4.629 MB / 483.4 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.8354, allocations: 95.88 kB / 483.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003547/0.8359, allocations: 52 kB / 483.5 MB, free: 15.47 MB / 378.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.0004491/0.8363, allocations: 188.5 kB / 483.7 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005804/0.8369, allocations: 162 kB / 483.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006354/0.8433, allocations: 2.106 MB / 486 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.8434, allocations: 12 kB / 486 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.8434, allocations: 4 kB / 486 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.454e-05/0.8434, allocations: 11.97 kB / 486 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/0.8576, allocations: 4.527 MB / 490.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.8576, allocations: 0 / 490.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/0.8598, allocations: 240 kB / 490.8 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/0.8622, allocations: 470.8 kB / 491.2 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/0.8626, allocations: 31.98 kB / 491.3 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009842/0.8724, allocations: 6.168 MB / 497.4 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.8725, allocations: 4 kB / 497.4 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008787/0.8813, allocations: 3.291 MB / 0.489 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.8829, allocations: 403 kB / 0.4894 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006017/0.8836, allocations: 32 kB / 0.4894 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/0.8856, allocations: 79.92 kB / 0.4895 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005491/0.8862, allocations: 112.8 kB / 0.4896 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.8863, allocations: 35.98 kB / 0.4896 GB, free: 12.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002738/0.8891, allocations: 1.007 MB / 0.4906 GB, free: 11.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.372e-06/0.8891, allocations: 0 / 0.4906 GB, free: 11.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002865/0.892, allocations: 488.1 kB / 0.4911 GB, free: 11.46 MB / 394.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.01026/0.9023, allocations: 4.779 MB / 0.4957 GB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006032/0.9084, allocations: 2.208 MB / 0.4979 GB, free: 4.309 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.9085, allocations: 4.062 kB / 0.4979 GB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004052/0.9125, allocations: 1.476 MB / 0.4993 GB, free: 2.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/0.9162, allocations: 409.8 kB / 0.4997 GB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.9302, allocations: 4.319 MB / 0.5039 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/0.9328, allocations: 1.842 MB / 0.5057 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/0.935, allocations: 0.7961 MB / 0.5065 GB, free: 11.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.963e-06/0.9351, allocations: 0 / 0.5065 GB, free: 11.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.102/5.037, allocations: 78.53 MB / 0.5832 GB, free: 83.23 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat