Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.767e-05, allocations: 4 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2889, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01658/0.3055, allocations: 10.08 MB / 313.4 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009259/0.3148, allocations: 3.651 MB / 317.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.3167, allocations: 87.69 kB / 317.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.3195, allocations: 0.6487 MB / 317.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004477/0.324, allocations: 0.9967 MB / 318.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.3266, allocations: 0.5746 MB / 319.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005994/0.3326, allocations: 2.093 MB / 321.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.3361, allocations: 1.627 MB / 323.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.3383, allocations: 0.9701 MB / 324.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.3413, allocations: 1.238 MB / 325.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.3428, allocations: 279.8 kB / 325.6 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006224/0.3435, allocations: 124 kB / 325.7 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008817/0.3444, allocations: 0.611 MB / 326.3 MB, free: 6.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.3454, allocations: 288 kB / 326.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008816/0.3542, allocations: 5.348 MB / 331.9 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3543, allocations: 0 / 331.9 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3543, allocations: 0 / 331.9 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001842/0.3545, allocations: 0 / 331.9 MB, free: 0.9258 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.01391/0.3684, allocations: 3.418 MB / 335.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.3685, allocations: 12.03 kB / 335.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007103/0.3756, allocations: 0.8038 MB / 336.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009079/0.3847, allocations: 2.138 MB / 338.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005717/0.3854, allocations: 230.2 kB / 338.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/0.3869, allocations: 315.9 kB / 338.8 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/0.407, allocations: 4.184 MB / 343 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.4072, allocations: 3.938 kB / 343 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008763/0.4081, allocations: 124 kB / 343.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000359/0.4085, allocations: 146.3 kB / 343.3 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.4273, allocations: 3.597 MB / 346.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05476/0.4822, allocations: 13.19 MB / 360.1 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01761/0.4998, allocations: 6.87 MB / 366.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01335/0.5132, allocations: 3.144 MB / 370.1 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.575e-05/0.5134, allocations: 55.88 kB / 370.1 MB, free: 9.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 6.703e-06/0.5134, allocations: 4 kB / 370.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.02271/0.5361, allocations: 5.72 MB / 375.9 MB, free: 3.281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.5362, allocations: 64.72 kB / 375.9 MB, free: 3.207 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/0.5397, allocations: 1.454 MB / 377.4 MB, free: 1.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.54, allocations: 49.7 kB / 377.4 MB, free: 1.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.5414, allocations: 1.38 MB / 378.8 MB, free: 304 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006637/0.5421, allocations: 465.2 kB / 379.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.5422, allocations: 32 kB / 379.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.5425, allocations: 373.9 kB / 379.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.5445, allocations: 0.6754 MB / 380.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/0.547, allocations: 1.13 MB / 381.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.5496, allocations: 0.8887 MB / 382.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.5497, allocations: 11.88 kB / 382.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.006587/0.5563, allocations: 2.378 MB / 384.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.5564, allocations: 12 kB / 384.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/0.5564, allocations: 16 kB / 384.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.5575, allocations: 267.5 kB / 385 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.5605, allocations: 375.4 kB / 385.4 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008226/0.5688, allocations: 5.749 MB / 391.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.5709, allocations: 87.81 kB / 391.2 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/0.5711, allocations: 68.19 kB / 391.3 MB, free: 3.148 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.002521/0.5737, allocations: 0.997 MB / 392.3 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004996/0.5742, allocations: 181.8 kB / 392.5 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006544/0.5807, allocations: 2.248 MB / 394.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.5808, allocations: 12 kB / 394.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.5808, allocations: 8 kB / 394.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/0.5809, allocations: 7.969 kB / 394.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.5951, allocations: 5.066 MB / 399.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.5952, allocations: 0 / 399.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.5969, allocations: 196 kB / 400 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.5989, allocations: 448.1 kB / 400.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/0.5991, allocations: 39.98 kB / 400.5 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/0.6146, allocations: 10.17 MB / 410.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.6147, allocations: 11.92 kB / 410.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008526/0.6232, allocations: 3.297 MB / 414 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.6246, allocations: 414.8 kB / 414.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/0.6251, allocations: 35.95 kB / 414.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.6266, allocations: 83.88 kB / 414.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.6269, allocations: 97.23 kB / 414.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.6271, allocations: 47.98 kB / 414.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00263/0.6297, allocations: 1.122 MB / 415.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.6298, allocations: 0 / 415.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002953/0.6327, allocations: 0.5392 MB / 416.3 MB, free: 9.086 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.0004687/0.6333, allocations: 167 kB / 416.5 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005579/0.6388, allocations: 2.164 MB / 418.6 MB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.6389, allocations: 448 / 418.6 MB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004085/0.643, allocations: 1.587 MB / 420.2 MB, free: 5.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/0.6466, allocations: 483.6 kB / 420.7 MB, free: 4.562 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2664/0.9131, allocations: 6.689 MB / 427.4 MB, free: 102.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003655/0.9168, allocations: 2.349 MB / 429.7 MB, free: 101.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002341/0.9192, allocations: 387.7 kB / 430.1 MB, free: 101.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005163/0.9198, allocations: 121.1 kB / 430.2 MB, free: 101.7 MB / 362.7 MB Notification: Performance of SimCode: time 2.194e-06/0.9198, allocations: 0 / 430.2 MB, free: 101.7 MB / 362.7 MB Notification: Performance of Templates: time 0.069/0.9888, allocations: 25.31 MB / 455.5 MB, free: 82.94 MB / 362.7 MB