Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 2.163/2.163, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.271e-05, allocations: 7.906 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.339, allocations: 44.49 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01768/0.3567, allocations: 10.07 MB / 313.4 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.3669, allocations: 3.653 MB / 317 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.3693, allocations: 87.69 kB / 317.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003159/0.3725, allocations: 0.6565 MB / 317.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005104/0.3777, allocations: 0.9967 MB / 318.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.3807, allocations: 0.5621 MB / 319.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006349/0.3871, allocations: 2.101 MB / 321.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003642/0.3908, allocations: 1.627 MB / 323.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.3933, allocations: 0.974 MB / 324 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/0.3964, allocations: 1.238 MB / 325.3 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.3982, allocations: 279.8 kB / 325.5 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007456/0.399, allocations: 120 kB / 325.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009401/0.4, allocations: 0.611 MB / 326.3 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.4012, allocations: 288 kB / 326.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008599/0.4098, allocations: 5.348 MB / 331.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4099, allocations: 0 / 331.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.4099, allocations: 4 kB / 331.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001947/0.4101, allocations: 0 / 331.9 MB, free: 1.027 MB / 266.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.01408/0.4242, allocations: 3.418 MB / 335.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4243, allocations: 8.031 kB / 335.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007243/0.4316, allocations: 0.7999 MB / 336.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006529/0.4381, allocations: 2.146 MB / 338.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003385/0.4385, allocations: 230.2 kB / 338.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.4397, allocations: 311.9 kB / 338.8 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.4534, allocations: 4.183 MB / 343 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.4535, allocations: 3.938 kB / 343 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005653/0.4541, allocations: 128 kB / 343.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002397/0.4544, allocations: 154.3 kB / 343.3 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.4664, allocations: 3.593 MB / 346.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04331/0.5098, allocations: 13.19 MB / 360.1 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01533/0.5252, allocations: 6.855 MB / 366.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.5369, allocations: 3.152 MB / 370.1 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.944e-05/0.537, allocations: 55.86 kB / 370.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 6.582e-06/0.537, allocations: 0 / 370.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.02662/0.5637, allocations: 5.724 MB / 375.8 MB, free: 3.387 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.5638, allocations: 64.72 kB / 375.9 MB, free: 3.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003786/0.5676, allocations: 1.45 MB / 377.4 MB, free: 1.859 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.5679, allocations: 49.7 kB / 377.4 MB, free: 1.805 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.5695, allocations: 1.325 MB / 378.7 MB, free: 476 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007865/0.5703, allocations: 473.2 kB / 379.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.5705, allocations: 35.94 kB / 379.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002455/0.5708, allocations: 378.7 kB / 379.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.573, allocations: 0.6754 MB / 380.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/0.5757, allocations: 1.13 MB / 381.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/0.5786, allocations: 0.8925 MB / 382.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.5786, allocations: 4 kB / 382.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.007057/0.5857, allocations: 2.266 MB / 384.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.5858, allocations: 8 kB / 384.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.984e-05/0.5858, allocations: 23.97 kB / 384.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.587, allocations: 275.5 kB / 384.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/0.59, allocations: 379.4 kB / 385.2 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008451/0.5985, allocations: 5.734 MB / 391 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.6006, allocations: 88.02 kB / 391.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.6009, allocations: 67.98 kB / 391.1 MB, free: 3.414 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 182 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002769/0.6037, allocations: 0.9931 MB / 392.1 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005883/0.6043, allocations: 185.7 kB / 392.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006657/0.6109, allocations: 2.256 MB / 394.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.611, allocations: 16 kB / 394.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/0.611, allocations: 4 kB / 394.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/0.6111, allocations: 3.984 kB / 394.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.6254, allocations: 5.066 MB / 399.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.6254, allocations: 4 kB / 399.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.6272, allocations: 187.8 kB / 399.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.6292, allocations: 452.2 kB / 400.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/0.6295, allocations: 39.98 kB / 400.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/0.6453, allocations: 10.16 MB / 410.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.6454, allocations: 4.031 kB / 410.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008858/0.6542, allocations: 3.305 MB / 413.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/0.6558, allocations: 414.8 kB / 414.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006103/0.6564, allocations: 35.95 kB / 414.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.6581, allocations: 83.88 kB / 414.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/0.6585, allocations: 105.1 kB / 414.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.6587, allocations: 35.98 kB / 414.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002785/0.6615, allocations: 1.122 MB / 415.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.6615, allocations: 0 / 415.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003077/0.6646, allocations: 0.5391 MB / 416.1 MB, free: 9.355 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,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.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 91 * 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%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005515/0.6652, allocations: 163.1 kB / 416.3 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005799/0.671, allocations: 2.163 MB / 418.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.6711, allocations: 0 / 418.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004173/0.6753, allocations: 1.591 MB / 420 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/0.679, allocations: 480.2 kB / 420.5 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2736/0.9526, allocations: 6.672 MB / 427.2 MB, free: 103 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00378/0.9565, allocations: 2.291 MB / 429.4 MB, free: 102.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008776/0.9574, allocations: 134.1 kB / 429.6 MB, free: 102.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.9574, allocations: 0 / 429.6 MB, free: 102.3 MB / 362.7 MB Notification: Performance of Templates: time 0.1532/1.111, allocations: 102.1 MB / 0.5192 GB, free: 7.938 MB / 362.7 MB