Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.804/1.804, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.298e-05, allocations: 7.906 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3031, allocations: 44.5 MB / 303.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses): time 0.01828/0.3214, allocations: 10.73 MB / 314.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.3323, allocations: 4.143 MB / 318.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.3347, allocations: 95.69 kB / 318.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.3379, allocations: 0.6953 MB / 319 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004932/0.3429, allocations: 1.086 MB / 320.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.3453, allocations: 0.6117 MB / 320.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005934/0.3513, allocations: 2.335 MB / 323 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.3546, allocations: 1.675 MB / 324.7 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.3569, allocations: 1.103 MB / 325.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.3597, allocations: 1.409 MB / 327.2 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.3614, allocations: 411.6 kB / 327.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006078/0.362, allocations: 144 kB / 327.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.3632, allocations: 0.8448 MB / 328.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.3643, allocations: 320 kB / 328.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009066/0.3733, allocations: 5.898 MB / 334.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3734, allocations: 0 / 334.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3734, allocations: 0 / 334.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001625/0.3736, allocations: 0 / 334.8 MB, free: 14.02 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.0145/0.3881, allocations: 3.891 MB / 338.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3882, allocations: 8.031 kB / 338.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007031/0.3952, allocations: 0.8732 MB / 339.6 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007229/0.4025, allocations: 2.499 MB / 342.1 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.4028, allocations: 250.7 kB / 342.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009144/0.4037, allocations: 339.8 kB / 342.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.4166, allocations: 4.496 MB / 347.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.4167, allocations: 11.84 kB / 347.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005022/0.4172, allocations: 136 kB / 347.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002613/0.4175, allocations: 158.7 kB / 347.5 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.4292, allocations: 3.883 MB / 351.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0352/0.4645, allocations: 14.19 MB / 365.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/0.4767, allocations: 6.9 MB / 372.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00961/0.4863, allocations: 3.609 MB / 376 MB, free: 3.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.4864, allocations: 51.88 kB / 376.1 MB, free: 3.324 MB / 314.7 MB Notification: Performance of pre-optimization done (n=167): time 7.093e-06/0.4864, allocations: 3.984 kB / 376.1 MB, free: 3.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=187): time 0.02813/0.5146, allocations: 8.068 MB / 384.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.5147, allocations: 69.41 kB / 384.2 MB, free: 11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004988/0.5197, allocations: 2.295 MB / 386.5 MB, free: 8.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002909/0.52, allocations: 57.7 kB / 386.6 MB, free: 8.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001763/0.5218, allocations: 1.611 MB / 388.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008544/0.5226, allocations: 0.6313 MB / 388.8 MB, free: 6.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.5228, allocations: 44 kB / 388.9 MB, free: 6.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.5231, allocations: 381.9 kB / 389.2 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.5258, allocations: 0.9019 MB / 390.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003038/0.5289, allocations: 1.285 MB / 391.4 MB, free: 3.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.532, allocations: 1.14 MB / 392.6 MB, free: 2.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.5321, allocations: 4 kB / 392.6 MB, free: 2.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009067/0.5412, allocations: 3.086 MB / 395.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.5412, allocations: 33.7 kB / 395.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.5413, allocations: 12 kB / 395.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.5438, allocations: 0.5674 MB / 396.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/0.5473, allocations: 435.4 kB / 396.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/0.562, allocations: 7.217 MB / 403.9 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.5645, allocations: 91.94 kB / 404 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.5648, allocations: 72.05 kB / 404.1 MB, free: 6.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 193 * Array equations: 2 * Algorithm blocks: 1 * 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%) 6,(8,62.5%) 34} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002797/0.5676, allocations: 1.149 MB / 405.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006823/0.5683, allocations: 264.8 kB / 405.5 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008644/0.5769, allocations: 2.89 MB / 408.4 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-05/0.577, allocations: 20 kB / 408.4 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.577, allocations: 8 kB / 408.4 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.5771, allocations: 7.969 kB / 408.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.5933, allocations: 6.287 MB / 414.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.5934, allocations: 128 / 414.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/0.5959, allocations: 291.6 kB / 415 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/0.5986, allocations: 0.6238 MB / 415.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.5988, allocations: 47.97 kB / 415.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2667/0.8655, allocations: 10.76 MB / 426.4 MB, free: 101.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.8656, allocations: 0.7812 kB / 426.4 MB, free: 101.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/0.8771, allocations: 4.211 MB / 430.6 MB, free: 101.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/0.8786, allocations: 0.5365 MB / 431.2 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005306/0.8791, allocations: 38.66 kB / 431.2 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.8811, allocations: 94.72 kB / 431.3 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004039/0.8815, allocations: 150.2 kB / 431.4 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/0.8817, allocations: 53.45 kB / 431.5 MB, free: 101.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003215/0.8849, allocations: 1.784 MB / 433.3 MB, free: 100.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.8849, allocations: 0 / 433.3 MB, free: 100.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002863/0.8878, allocations: 0.6972 MB / 434 MB, free: 100.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 12,(1,100.0%) 6,(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009729/0.8888, allocations: 304.4 kB / 434.3 MB, free: 100.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007256/0.8961, allocations: 2.896 MB / 437.2 MB, free: 99.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8961, allocations: 3.828 kB / 437.2 MB, free: 99.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0043/0.9004, allocations: 1.941 MB / 439.1 MB, free: 97.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/0.904, allocations: 0.5336 MB / 439.6 MB, free: 97.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.9196, allocations: 8.314 MB / 448 MB, free: 91.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/0.9224, allocations: 2.691 MB / 450.6 MB, free: 89.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002737/0.9252, allocations: 0.4939 MB / 451.1 MB, free: 88.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007068/0.9259, allocations: 163.4 kB / 451.3 MB, free: 88.66 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.9259, allocations: 0 / 451.3 MB, free: 88.66 MB / 362.7 MB Notification: Performance of Templates: time 0.08444/1.01, allocations: 33.44 MB / 484.7 MB, free: 55.19 MB / 362.7 MB