Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.807/1.807, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.873e-05, allocations: 7.906 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3187, 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_Steinmetz): time 0.01807/0.3368, allocations: 10.75 MB / 314.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009887/0.3468, allocations: 3.815 MB / 317.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.349, allocations: 87.75 kB / 318 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.3518, allocations: 0.6681 MB / 318.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.3566, allocations: 1.055 MB / 319.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.3594, allocations: 0.6071 MB / 320.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006074/0.3654, allocations: 2.227 MB / 322.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.369, allocations: 1.62 MB / 324.2 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.3712, allocations: 1.032 MB / 325.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.374, allocations: 1.265 MB / 326.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.3756, allocations: 279.8 kB / 326.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007413/0.3763, allocations: 128 kB / 326.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008765/0.3772, allocations: 0.6304 MB / 327.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.3783, allocations: 296 kB / 327.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008914/0.3873, allocations: 5.438 MB / 333.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3873, allocations: 0 / 333.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3873, allocations: 0 / 333.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001606/0.3875, allocations: 0 / 333.2 MB, free: 15.62 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01356/0.4011, allocations: 3.458 MB / 336.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4011, allocations: 8.031 kB / 336.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006861/0.408, allocations: 0.8232 MB / 337.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006193/0.4142, allocations: 2.178 MB / 339.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.4146, allocations: 238.5 kB / 339.9 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008599/0.4154, allocations: 323.9 kB / 340.2 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.4273, allocations: 4.224 MB / 344.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.4274, allocations: 7.906 kB / 344.5 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004989/0.4279, allocations: 128 kB / 344.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/0.4282, allocations: 150.4 kB / 344.7 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.4387, allocations: 3.578 MB / 348.3 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03315/0.4719, allocations: 13.9 MB / 362.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.4825, allocations: 6.512 MB / 368.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008101/0.4906, allocations: 3.172 MB / 371.9 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.4907, allocations: 55.8 kB / 372 MB, free: 7.375 MB / 314.7 MB Notification: Performance of pre-optimization done (n=138): time 4.308e-06/0.4907, allocations: 0 / 372 MB, free: 7.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=141): time 0.01877/0.5095, allocations: 5.961 MB / 377.9 MB, free: 1.195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.5096, allocations: 64.72 kB / 378 MB, free: 1.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/0.5131, allocations: 1.529 MB / 379.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.5133, allocations: 57.7 kB / 379.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.5148, allocations: 1.423 MB / 381 MB, free: 14.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006193/0.5154, allocations: 496.9 kB / 381.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.5156, allocations: 36 kB / 381.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.5158, allocations: 373.8 kB / 381.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.5178, allocations: 0.6871 MB / 382.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.5202, allocations: 1.184 MB / 383.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.5225, allocations: 0.9121 MB / 384.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.5225, allocations: 7.938 kB / 384.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006776/0.5293, allocations: 2.551 MB / 387.2 MB, free: 7.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.5294, allocations: 12 kB / 387.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/0.5294, allocations: 16 kB / 387.2 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.531, allocations: 372 kB / 387.6 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.5338, allocations: 379.4 kB / 388 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.5453, allocations: 7.775 MB / 395.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.5474, allocations: 80.06 kB / 395.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.5477, allocations: 79.98 kB / 395.9 MB, free: 14.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 189 * 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: 4 * 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: 4 {(1,100.0%) 7,(1,100.0%) 1,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002528/0.5502, allocations: 1.001 MB / 396.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004589/0.5507, allocations: 189.7 kB / 397.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006411/0.5571, allocations: 2.325 MB / 399.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.5571, allocations: 16 kB / 399.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.5572, allocations: 8 kB / 399.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/0.5572, allocations: 7.969 kB / 399.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.5697, allocations: 5.126 MB / 404.6 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.5697, allocations: 8.031 kB / 404.6 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/0.5713, allocations: 179.8 kB / 404.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/0.5737, allocations: 0.5323 MB / 405.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.5739, allocations: 39.98 kB / 405.3 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/0.5924, allocations: 12.21 MB / 417.5 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5924, allocations: 4 kB / 417.5 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008489/0.6009, allocations: 3.362 MB / 420.9 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.6022, allocations: 426.6 kB / 421.3 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004438/0.6026, allocations: 32 kB / 421.3 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.6042, allocations: 79.88 kB / 421.4 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003594/0.6046, allocations: 113.1 kB / 421.5 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.6047, allocations: 36 kB / 421.6 MB, free: 3.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00262/0.6074, allocations: 1.18 MB / 422.8 MB, free: 2.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6074, allocations: 0 / 422.8 MB, free: 2.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002807/0.6102, allocations: 0.5742 MB / 423.3 MB, free: 1.742 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * 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): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(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.0004121/0.6106, allocations: 155.2 kB / 423.5 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2446/0.8552, allocations: 2.373 MB / 425.9 MB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.8552, allocations: 2.062 kB / 425.9 MB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0045/0.8598, allocations: 1.771 MB / 427.6 MB, free: 103.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.8634, allocations: 0.5004 MB / 428.1 MB, free: 103.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.877, allocations: 7.08 MB / 435.2 MB, free: 100.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/0.8794, allocations: 2.361 MB / 437.6 MB, free: 99.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002259/0.8817, allocations: 394.7 kB / 438 MB, free: 98.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.8821, allocations: 122.2 kB / 438.1 MB, free: 98.97 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.8822, allocations: 4 kB / 438.1 MB, free: 98.97 MB / 362.7 MB Notification: Performance of Templates: time 0.07543/0.9576, allocations: 27.1 MB / 465.2 MB, free: 74.5 MB / 362.7 MB