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 1.906/1.906, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.946e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5596, allocations: 98.3 MB / 398.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.5599, allocations: 83.11 kB / 398.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1971/0.757, allocations: 41.01 MB / 439.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.7571, allocations: 0 / 439.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.00031/0.7574, allocations: 54.67 kB / 439.4 MB, free: 9.969 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.0103/0.7677, allocations: 1.99 MB / 441.4 MB, free: 8.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.7678, allocations: 8.031 kB / 441.4 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001294/0.7691, allocations: 264.2 kB / 441.7 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.771, allocations: 261.2 kB / 441.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00698/0.7781, allocations: 1.414 MB / 443.3 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.7784, allocations: 136.1 kB / 443.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.7795, allocations: 188.4 kB / 443.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009911/0.7894, allocations: 2.303 MB / 445.9 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/0.7896, allocations: 11.69 kB / 446 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004172/0.79, allocations: 75.72 kB / 446 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/0.7902, allocations: 78.75 kB / 446.1 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008779/0.799, allocations: 1.821 MB / 447.9 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04886/0.848, allocations: 7.496 MB / 455.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/0.8621, allocations: 1.271 MB / 456.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007618/0.8698, allocations: 0.8138 MB / 457.5 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005145/0.8703, allocations: 137.8 kB / 457.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/0.8704, allocations: 43.34 kB / 457.7 MB, free: 9.656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 5.39e-06/0.8704, allocations: 0 / 457.7 MB, free: 9.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01784/0.8883, allocations: 4.092 MB / 461.8 MB, free: 5.512 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.8884, allocations: 64.41 kB / 461.8 MB, free: 5.434 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/0.8923, allocations: 1.18 MB / 463 MB, free: 4.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002897/0.8926, allocations: 45.7 kB / 463.1 MB, free: 4.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.8938, allocations: 0.8593 MB / 463.9 MB, free: 3.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/0.8945, allocations: 366.6 kB / 464.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.8947, allocations: 28 kB / 464.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002654/0.8949, allocations: 362.7 kB / 464.7 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.8971, allocations: 0.6039 MB / 465.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.8998, allocations: 0.8884 MB / 466.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.9026, allocations: 0.7426 MB / 466.9 MB, free: 236 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.9026, allocations: 0 / 466.9 MB, free: 236 kB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00949/0.9122, allocations: 2.271 MB / 469.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.9122, allocations: 12 kB / 469.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/0.9123, allocations: 8 kB / 469.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00473/0.917, allocations: 0.7667 MB / 470 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/0.9194, allocations: 239.5 kB / 470.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02581/0.9452, allocations: 8.561 MB / 478.7 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.948, allocations: 79.92 kB / 478.8 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/0.9483, allocations: 51.98 kB / 478.9 MB, free: 3.957 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.000536/0.9488, allocations: 172.8 kB / 479 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006115/0.9495, allocations: 146.2 kB / 479.2 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007951/0.9574, allocations: 1.862 MB / 481.1 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.9575, allocations: 12 kB / 481.1 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.9575, allocations: 4 kB / 481.1 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/0.9576, allocations: 7.969 kB / 481.1 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.9736, allocations: 3.956 MB / 485 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.9737, allocations: 4 kB / 485 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/0.976, allocations: 195.7 kB / 485.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/0.9792, allocations: 475.1 kB / 485.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/0.9795, allocations: 27.97 kB / 485.7 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/0.9933, allocations: 6.163 MB / 491.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.9933, allocations: 4 kB / 491.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.004, allocations: 2.868 MB / 494.8 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.005, allocations: 367.1 kB / 495.1 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/1.006, allocations: 27.98 kB / 495.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/1.008, allocations: 75.97 kB / 495.2 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/1.008, allocations: 80.66 kB / 495.3 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/1.009, allocations: 35.98 kB / 495.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003209/1.012, allocations: 0.9094 MB / 496.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.21e-07/1.012, allocations: 0 / 496.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003852/1.016, allocations: 467.9 kB / 496.7 MB, free: 1.516 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.01176/1.027, allocations: 4.221 MB / 0.4892 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007337/1.035, allocations: 1.951 MB / 0.4911 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/1.035, allocations: 12 kB / 0.4911 GB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004485/1.039, allocations: 1.295 MB / 0.4924 GB, free: 9.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/1.043, allocations: 344.5 kB / 0.4927 GB, free: 9.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/1.059, allocations: 3.839 MB / 0.4964 GB, free: 5.625 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003005/1.062, allocations: 1.716 MB / 0.4981 GB, free: 3.879 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00228/1.065, allocations: 0.7141 MB / 0.4988 GB, free: 3.164 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/1.065, allocations: 0 / 0.4988 GB, free: 3.164 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.707/4.772, allocations: 60.76 MB / 0.5581 GB, free: 106.3 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