Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.18e-05, allocations: 4 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 50.42 MB / 342.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5023/0.6074, allocations: 109.1 MB / 451.8 MB, free: 1.504 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.6078, allocations: 96.06 kB / 451.9 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3609/0.9687, allocations: 79.64 MB / 0.519 GB, free: 5.457 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.9688, allocations: 0 / 0.519 GB, free: 5.457 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003107/0.9691, allocations: 83.86 kB / 0.5191 GB, free: 5.375 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01318/0.9823, allocations: 3.168 MB / 0.5222 GB, free: 2.145 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.9824, allocations: 8.875 kB / 0.5222 GB, free: 2.137 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00144/0.9838, allocations: 451 kB / 0.5227 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005951/0.9898, allocations: 0.7141 MB / 0.5234 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3164/1.306, allocations: 3.286 MB / 0.5266 GB, free: 90.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/1.307, allocations: 238 kB / 0.5268 GB, free: 90.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/1.308, allocations: 310.4 kB / 0.5271 GB, free: 90.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/1.32, allocations: 4.011 MB / 0.531 GB, free: 90.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/1.321, allocations: 4.75 kB / 0.531 GB, free: 90.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005381/1.321, allocations: 132.4 kB / 0.5311 GB, free: 90.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/1.321, allocations: 146.9 kB / 0.5313 GB, free: 90.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/1.332, allocations: 3.247 MB / 0.5344 GB, free: 90.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03378/1.366, allocations: 13.22 MB / 0.5474 GB, free: 87.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009503/1.375, allocations: 6.807 MB / 0.554 GB, free: 82.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/1.379, allocations: 1.315 MB / 0.5553 GB, free: 82.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009031/1.388, allocations: 3.72 MB / 0.5589 GB, free: 81.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/1.388, allocations: 50.97 kB / 0.559 GB, free: 81.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.008e-06/1.388, allocations: 0 / 0.559 GB, free: 81.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.009263/1.397, allocations: 3.826 MB / 0.5627 GB, free: 80.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/1.397, allocations: 63.66 kB / 0.5628 GB, free: 80.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/1.4, allocations: 1.465 MB / 0.5642 GB, free: 79.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002586/1.401, allocations: 49.16 kB / 0.5642 GB, free: 79.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008557/1.401, allocations: 1.357 MB / 0.5656 GB, free: 78.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/1.402, allocations: 424.8 kB / 0.566 GB, free: 78.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.402, allocations: 32.94 kB / 0.566 GB, free: 78.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/1.402, allocations: 372.6 kB / 0.5664 GB, free: 78.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/1.404, allocations: 0.5945 MB / 0.5669 GB, free: 77.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/1.405, allocations: 1.056 MB / 0.568 GB, free: 77.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/1.407, allocations: 0.8001 MB / 0.5688 GB, free: 76.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.407, allocations: 7.844 kB / 0.5688 GB, free: 76.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004753/1.412, allocations: 2.066 MB / 0.5708 GB, free: 75.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/1.412, allocations: 10.94 kB / 0.5708 GB, free: 75.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/1.412, allocations: 14.28 kB / 0.5708 GB, free: 75.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/1.413, allocations: 268.9 kB / 0.5711 GB, free: 75.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/1.415, allocations: 353.8 kB / 0.5714 GB, free: 75.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/1.422, allocations: 5.665 MB / 0.5769 GB, free: 70.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.424, allocations: 85.39 kB / 0.577 GB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/1.424, allocations: 72 kB / 0.5771 GB, free: 70.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 174 * 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003805/1.425, allocations: 198.6 kB / 0.5773 GB, free: 70.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/1.425, allocations: 181.4 kB / 0.5774 GB, free: 70.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/1.43, allocations: 2.043 MB / 0.5794 GB, free: 69.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.43, allocations: 11.41 kB / 0.5795 GB, free: 69.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.43, allocations: 5.75 kB / 0.5795 GB, free: 69.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/1.43, allocations: 5.531 kB / 0.5795 GB, free: 69.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.441, allocations: 4.705 MB / 0.5841 GB, free: 67.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.441, allocations: 3.844 kB / 0.5841 GB, free: 67.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.443, allocations: 164.2 kB / 0.5842 GB, free: 67.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/1.446, allocations: 452.6 kB / 0.5847 GB, free: 67.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002219/1.446, allocations: 33.81 kB / 0.5847 GB, free: 67.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/1.463, allocations: 10.05 MB / 0.5945 GB, free: 58.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.463, allocations: 3.625 kB / 0.5945 GB, free: 58.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008842/1.472, allocations: 2.959 MB / 0.5974 GB, free: 57.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/1.474, allocations: 405.7 kB / 0.5978 GB, free: 56.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005781/1.474, allocations: 27.22 kB / 0.5978 GB, free: 56.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.476, allocations: 76.5 kB / 0.5979 GB, free: 56.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/1.477, allocations: 103.7 kB / 0.598 GB, free: 56.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.477, allocations: 33.58 kB / 0.598 GB, free: 56.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00319/1.48, allocations: 1.123 MB / 0.5991 GB, free: 56.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.48, allocations: 0 / 0.5991 GB, free: 56.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004534/1.485, allocations: 0.5779 MB / 0.5997 GB, free: 56.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009894/1.495, allocations: 4.205 MB / 0.6038 GB, free: 53.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006237/1.501, allocations: 1.934 MB / 0.6057 GB, free: 52.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.501, allocations: 1.25 kB / 0.6057 GB, free: 52.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004693/1.506, allocations: 1.432 MB / 0.6071 GB, free: 51.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/1.51, allocations: 469 kB / 0.6075 GB, free: 51.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/1.524, allocations: 5.133 MB / 0.6125 GB, free: 49.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/1.527, allocations: 2.295 MB / 0.6148 GB, free: 48.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002336/1.529, allocations: 1.112 MB / 0.6159 GB, free: 47.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.372e-06/1.529, allocations: 0 / 0.6159 GB, free: 47.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.08/5.61, allocations: 119.5 MB / 0.7325 GB, free: 104.3 MB / 458.7 MB