Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.432e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09492, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5445, allocations: 98.28 MB / 398.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5448, allocations: 84.72 kB / 398.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1635/0.7084, allocations: 41.01 MB / 439.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.7084, allocations: 0 / 439.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002165/0.7087, allocations: 47.94 kB / 439.4 MB, free: 9.727 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007487/0.7162, allocations: 1.983 MB / 441.3 MB, free: 7.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.233e-05/0.7163, allocations: 12.03 kB / 441.4 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001089/0.7174, allocations: 270.8 kB / 441.6 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.7187, allocations: 261.2 kB / 441.9 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/0.7236, allocations: 1.416 MB / 443.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.7238, allocations: 136.7 kB / 443.4 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007068/0.7245, allocations: 182 kB / 443.6 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006708/0.7312, allocations: 2.333 MB / 445.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.359e-05/0.7314, allocations: 4 kB / 445.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002803/0.7317, allocations: 74.83 kB / 446 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.7318, allocations: 79.19 kB / 446.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005992/0.7378, allocations: 1.85 MB / 447.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02163/0.7595, allocations: 7.492 MB / 455.4 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.7628, allocations: 1.28 MB / 456.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/0.7652, allocations: 0.8135 MB / 457.5 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/0.7657, allocations: 137.8 kB / 457.7 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.7658, allocations: 43.81 kB / 457.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.517e-06/0.7658, allocations: 0 / 457.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01399/0.7798, allocations: 4.097 MB / 461.8 MB, free: 5.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.7799, allocations: 64.34 kB / 461.9 MB, free: 5.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/0.783, allocations: 1.18 MB / 463 MB, free: 4.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003367/0.7833, allocations: 45.7 kB / 463.1 MB, free: 4.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000885/0.7842, allocations: 0.8632 MB / 464 MB, free: 3.289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006733/0.7849, allocations: 362.6 kB / 464.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.7851, allocations: 24 kB / 464.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.7853, allocations: 358.8 kB / 464.7 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.7871, allocations: 0.6077 MB / 465.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.7893, allocations: 0.9026 MB / 466.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.7915, allocations: 0.7466 MB / 466.9 MB, free: 184 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.7916, allocations: 0 / 466.9 MB, free: 184 kB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007342/0.799, allocations: 2.29 MB / 469.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.799, allocations: 15.88 kB / 469.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.7991, allocations: 8 kB / 469.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003649/0.8027, allocations: 0.7626 MB / 470 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/0.8047, allocations: 239.7 kB / 470.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.8239, allocations: 8.557 MB / 478.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.826, allocations: 80.08 kB / 478.9 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.8263, allocations: 51.98 kB / 478.9 MB, free: 3.895 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003863/0.8267, allocations: 176.6 kB / 479.1 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/0.8271, allocations: 142.2 kB / 479.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005454/0.8326, allocations: 1.866 MB / 481.1 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.8327, allocations: 12 kB / 481.1 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.8327, allocations: 4 kB / 481.1 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.8327, allocations: 7.984 kB / 481.1 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.8448, allocations: 3.971 MB / 485.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/0.8449, allocations: 288 / 485.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.8468, allocations: 207.9 kB / 485.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/0.8492, allocations: 462.8 kB / 485.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/0.8495, allocations: 27.98 kB / 485.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009943/0.8594, allocations: 6.168 MB / 492 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8595, allocations: 0 / 492 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007448/0.867, allocations: 2.857 MB / 494.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/0.8685, allocations: 371.1 kB / 495.2 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004787/0.869, allocations: 28 kB / 495.2 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.8705, allocations: 75.92 kB / 495.3 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/0.8709, allocations: 88.59 kB / 495.4 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.871, allocations: 27.98 kB / 495.4 MB, free: 2.812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002354/0.8734, allocations: 0.9133 MB / 496.3 MB, free: 1.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.8734, allocations: 0 / 496.3 MB, free: 1.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00271/0.8762, allocations: 471.9 kB / 496.8 MB, free: 1.434 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.008759/0.885, allocations: 4.218 MB / 0.4892 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00589/0.8909, allocations: 1.995 MB / 0.4912 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.891, allocations: 4.562 kB / 0.4912 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003562/0.8945, allocations: 1.331 MB / 0.4925 GB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/0.8978, allocations: 345.5 kB / 0.4928 GB, free: 9.375 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.9099, allocations: 3.84 MB / 0.4966 GB, free: 5.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/0.9122, allocations: 1.723 MB / 0.4983 GB, free: 3.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/0.914, allocations: 0.7101 MB / 0.4989 GB, free: 2.984 MB / 394.7 MB Notification: Performance of SimCode: time 1.103e-06/0.914, allocations: 3.938 kB / 0.499 GB, free: 2.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.881/4.795, allocations: 60.93 MB / 0.5585 GB, free: 106 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_Initialize_res.mat does not exist to compare? outputFormat=mat