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 2.175/2.175, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.248e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3001, allocations: 44.5 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1745/0.4747, allocations: 98.67 MB / 392.9 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/0.475, allocations: 83.95 kB / 393 MB, free: 15.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4261/0.9011, allocations: 43.92 MB / 436.9 MB, free: 92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.9012, allocations: 0 / 436.9 MB, free: 92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001768/0.9014, allocations: 54.81 kB / 436.9 MB, free: 91.99 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.006287/0.9077, allocations: 2.191 MB / 439.1 MB, free: 91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.9078, allocations: 9.203 kB / 439.1 MB, free: 91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.9091, allocations: 292.3 kB / 439.4 MB, free: 90.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00404/0.9131, allocations: 1.533 MB / 440.9 MB, free: 90.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.9133, allocations: 65.88 kB / 441 MB, free: 90.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.9137, allocations: 123.1 kB / 441.1 MB, free: 90.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004919/0.9186, allocations: 2.024 MB / 443.2 MB, free: 90.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.9237, allocations: 2.36 MB / 445.5 MB, free: 89.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.024e-05/0.9238, allocations: 11.48 kB / 445.5 MB, free: 89.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.924, allocations: 0 / 445.5 MB, free: 89.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.9242, allocations: 92.34 kB / 445.6 MB, free: 89.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01829/0.9425, allocations: 8.048 MB / 453.7 MB, free: 85.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.945, allocations: 1.727 MB / 455.4 MB, free: 84.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.9468, allocations: 0.8626 MB / 456.3 MB, free: 84.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003709/0.9472, allocations: 141 kB / 456.4 MB, free: 84.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.9472, allocations: 43.34 kB / 456.4 MB, free: 84.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 4.629e-06/0.9473, allocations: 0 / 456.4 MB, free: 84.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.01131/0.9586, allocations: 4.373 MB / 460.8 MB, free: 82.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.9587, allocations: 63.78 kB / 460.9 MB, free: 82.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.9607, allocations: 1.091 MB / 462 MB, free: 81.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.9608, allocations: 25.7 kB / 462 MB, free: 81.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/0.9614, allocations: 0.9511 MB / 462.9 MB, free: 81.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.9618, allocations: 406.1 kB / 463.3 MB, free: 80.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.9619, allocations: 3.938 kB / 463.3 MB, free: 80.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.962, allocations: 369.5 kB / 463.7 MB, free: 80.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.9634, allocations: 0.6762 MB / 464.4 MB, free: 80.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.9649, allocations: 0.9773 MB / 465.4 MB, free: 79.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.9665, allocations: 0.8088 MB / 466.2 MB, free: 79.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.9666, allocations: 7.094 kB / 466.2 MB, free: 79.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004543/0.9711, allocations: 2.04 MB / 468.2 MB, free: 77.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.9712, allocations: 8 kB / 468.2 MB, free: 77.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.9712, allocations: 13.56 kB / 468.2 MB, free: 77.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.9726, allocations: 404.6 kB / 468.6 MB, free: 77.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.975, allocations: 332.1 kB / 468.9 MB, free: 76.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/0.9805, allocations: 4.415 MB / 473.4 MB, free: 72.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.9824, allocations: 66.03 kB / 473.4 MB, free: 72.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.9825, allocations: 62.56 kB / 473.5 MB, free: 72.48 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.0003387/0.9829, allocations: 143.9 kB / 473.6 MB, free: 72.34 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004128/0.987, allocations: 1.866 MB / 475.5 MB, free: 70.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.9873, allocations: 153.9 kB / 475.6 MB, free: 70.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004573/0.9919, allocations: 1.992 MB / 477.6 MB, free: 68.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.992, allocations: 12 kB / 477.7 MB, free: 68.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.992, allocations: 8 kB / 477.7 MB, free: 68.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.992, allocations: 6.703 kB / 477.7 MB, free: 68.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009478/1.001, allocations: 4.151 MB / 481.8 MB, free: 65.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.002, allocations: 3.25 kB / 481.8 MB, free: 65.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/1.003, allocations: 239.9 kB / 482.1 MB, free: 64.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/1.005, allocations: 462.9 kB / 482.5 MB, free: 64.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.005, allocations: 15.98 kB / 482.5 MB, free: 64.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006913/1.012, allocations: 5.913 MB / 488.4 MB, free: 58.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.012, allocations: 3.938 kB / 488.4 MB, free: 58.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/1.018, allocations: 3.149 MB / 491.6 MB, free: 54.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009766/1.019, allocations: 387.1 kB / 492 MB, free: 54.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/1.02, allocations: 11.98 kB / 492 MB, free: 54.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.021, allocations: 59.92 kB / 492 MB, free: 54.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/1.022, allocations: 109.1 kB / 492.1 MB, free: 54.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.022, allocations: 32 kB / 492.2 MB, free: 54.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001657/1.023, allocations: 0.8332 MB / 493 MB, free: 53.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.023, allocations: 4 kB / 493 MB, free: 53.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002767/1.026, allocations: 420 kB / 493.4 MB, free: 53.01 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.009273/1.036, allocations: 4.5 MB / 497.9 MB, free: 48.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006103/1.042, allocations: 2.124 MB / 0.4883 GB, free: 46.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.042, allocations: 0 / 0.4883 GB, free: 46.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003795/1.045, allocations: 1.414 MB / 0.4897 GB, free: 44.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/1.049, allocations: 327.3 kB / 0.49 GB, free: 44.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/1.062, allocations: 4.171 MB / 0.4941 GB, free: 40.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/1.065, allocations: 1.838 MB / 0.4959 GB, free: 38.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002278/1.067, allocations: 0.7922 MB / 0.4967 GB, free: 37.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.213e-06/1.067, allocations: 7.938 kB / 0.4967 GB, free: 37.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.98/5.047, allocations: 76.89 MB / 0.5718 GB, free: 113.3 MB / 394.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