Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.969/1.969, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.262e-05, allocations: 0 / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3023, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.4734, allocations: 98.66 MB / 392.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.4738, allocations: 91.94 kB / 393 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4339/0.9078, allocations: 43.93 MB / 436.9 MB, free: 92.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.9078, allocations: 0 / 436.9 MB, free: 92.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001852/0.908, allocations: 63.95 kB / 437 MB, free: 92.14 MB / 362.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.006091/0.9141, allocations: 2.183 MB / 439.2 MB, free: 91.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.9142, allocations: 8.875 kB / 439.2 MB, free: 91.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.9155, allocations: 293.8 kB / 439.4 MB, free: 91.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004634/0.9201, allocations: 1.537 MB / 441 MB, free: 90.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.9203, allocations: 64.41 kB / 441 MB, free: 90.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006551/0.921, allocations: 124.1 kB / 441.2 MB, free: 90.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005339/0.9263, allocations: 2.019 MB / 443.2 MB, free: 90.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005937/0.9323, allocations: 2.361 MB / 445.5 MB, free: 90.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.872e-05/0.9324, allocations: 9.734 kB / 445.6 MB, free: 90.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.9327, allocations: 3.656 kB / 445.6 MB, free: 90.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.9329, allocations: 90.22 kB / 445.7 MB, free: 90.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01803/0.9509, allocations: 8.047 MB / 453.7 MB, free: 85.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.9536, allocations: 1.729 MB / 455.4 MB, free: 84.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.9554, allocations: 0.8656 MB / 456.3 MB, free: 84.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/0.9558, allocations: 136.2 kB / 456.4 MB, free: 84.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.9558, allocations: 47.66 kB / 456.5 MB, free: 84.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 3.868e-06/0.9559, allocations: 3.516 kB / 456.5 MB, free: 84.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.01183/0.9677, allocations: 4.366 MB / 460.8 MB, free: 82.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.9678, allocations: 68.09 kB / 460.9 MB, free: 82.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.97, allocations: 1.088 MB / 462 MB, free: 81.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002568/0.9702, allocations: 25.7 kB / 462 MB, free: 81.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/0.9709, allocations: 0.9835 MB / 463 MB, free: 81.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.9714, allocations: 408.4 kB / 463.4 MB, free: 80.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.9715, allocations: 0 / 463.4 MB, free: 80.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9716, allocations: 362 kB / 463.8 MB, free: 80.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.973, allocations: 0.6748 MB / 464.4 MB, free: 80.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.9745, allocations: 0.9739 MB / 465.4 MB, free: 79.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.9762, allocations: 0.8211 MB / 466.2 MB, free: 79.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.9763, allocations: 4 kB / 466.2 MB, free: 79.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004982/0.9812, allocations: 2.12 MB / 468.3 MB, free: 77.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.9813, allocations: 19.2 kB / 468.4 MB, free: 77.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.9813, allocations: 10.88 kB / 468.4 MB, free: 77.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/0.9828, allocations: 396.3 kB / 468.8 MB, free: 77.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.9852, allocations: 340.7 kB / 469.1 MB, free: 76.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005551/0.9908, allocations: 4.412 MB / 473.5 MB, free: 72.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.9926, allocations: 71.12 kB / 473.6 MB, free: 72.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.9928, allocations: 55.7 kB / 473.6 MB, free: 72.42 MB / 362.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.0003345/0.9931, allocations: 136.6 kB / 473.8 MB, free: 72.28 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004123/0.9973, allocations: 1.87 MB / 475.6 MB, free: 70.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/0.9977, allocations: 150.2 kB / 475.8 MB, free: 70.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004741/1.002, allocations: 2.004 MB / 477.8 MB, free: 68.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/1.003, allocations: 12 kB / 477.8 MB, free: 68.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/1.003, allocations: 4 kB / 477.8 MB, free: 68.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.003, allocations: 7.375 kB / 477.8 MB, free: 68.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/1.013, allocations: 4.152 MB / 482 MB, free: 64.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/1.013, allocations: 4 kB / 482 MB, free: 64.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/1.015, allocations: 231.7 kB / 482.2 MB, free: 64.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001979/1.017, allocations: 467.1 kB / 482.7 MB, free: 64.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/1.017, allocations: 15.98 kB / 482.7 MB, free: 64.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007333/1.024, allocations: 5.912 MB / 488.6 MB, free: 57.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/1.024, allocations: 6.562 kB / 488.6 MB, free: 57.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0064/1.031, allocations: 3.145 MB / 491.7 MB, free: 54.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.032, allocations: 391 kB / 492.1 MB, free: 54.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/1.032, allocations: 11.94 kB / 492.1 MB, free: 54.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/1.034, allocations: 63.91 kB / 492.2 MB, free: 54.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004479/1.035, allocations: 105.2 kB / 492.3 MB, free: 54.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.035, allocations: 35.98 kB / 492.3 MB, free: 54.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001623/1.036, allocations: 0.8254 MB / 493.1 MB, free: 53.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.036, allocations: 0 / 493.1 MB, free: 53.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002443/1.039, allocations: 428 kB / 493.6 MB, free: 52.84 MB / 362.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: 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 (107): * Single equations (assignments): 103 * 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.007112/1.046, allocations: 4.497 MB / 498.1 MB, free: 48.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004436/1.05, allocations: 2.13 MB / 0.4885 GB, free: 46.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.051, allocations: 1.875 kB / 0.4885 GB, free: 46.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003095/1.054, allocations: 1.41 MB / 0.4898 GB, free: 44.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/1.057, allocations: 324.3 kB / 0.4902 GB, free: 44.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/1.068, allocations: 4.135 MB / 0.4942 GB, free: 40.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/1.07, allocations: 1.869 MB / 0.496 GB, free: 38.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002044/1.072, allocations: 379.2 kB / 0.4964 GB, free: 37.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/1.074, allocations: 0.7883 MB / 0.4972 GB, free: 37.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/1.074, allocations: 0 / 0.4972 GB, free: 37.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/1.181, allocations: 36.22 MB / 0.5325 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.181, allocations: 181.5 kB / 0.5327 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.667/4.848, allocations: 0 / 0.5327 GB, free: 0.6875 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat