Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.807/1.807, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.63e-05, allocations: 4 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2859, 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_Transformer): time 0.02148/0.3074, allocations: 13.31 MB / 316.6 MB, free: 272 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.3202, allocations: 4.949 MB / 321.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/0.3233, allocations: 123.6 kB / 321.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.3272, allocations: 0.9323 MB / 322.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006229/0.3335, allocations: 1.386 MB / 324 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.3368, allocations: 0.68 MB / 324.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008878/0.3457, allocations: 3.228 MB / 327.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005621/0.3514, allocations: 2.606 MB / 330.5 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/0.3552, allocations: 1.582 MB / 332.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004834/0.36, allocations: 2.032 MB / 334.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.3629, allocations: 411.7 kB / 334.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.3642, allocations: 204 kB / 334.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001826/0.3661, allocations: 1.098 MB / 335.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001892/0.368, allocations: 484 kB / 336.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.3808, allocations: 8.535 MB / 344.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3808, allocations: 0 / 344.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3808, allocations: 0 / 344.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002543/0.3811, allocations: 0 / 344.9 MB, free: 3.945 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01871/0.3998, allocations: 5.072 MB / 349.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3999, allocations: 12.02 kB / 349.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008098/0.408, allocations: 1.059 MB / 351 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009296/0.4173, allocations: 3.253 MB / 354.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004235/0.4178, allocations: 373.7 kB / 354.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.4192, allocations: 487.7 kB / 355.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.4384, allocations: 6.803 MB / 361.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.4386, allocations: 0 / 361.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007394/0.4393, allocations: 200 kB / 362.1 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003467/0.4397, allocations: 241.8 kB / 362.3 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.4577, allocations: 5.918 MB / 368.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05439/0.5121, allocations: 20.99 MB / 389.2 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.5277, allocations: 9.92 MB / 399.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01543/0.5431, allocations: 5.416 MB / 404.6 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/0.5432, allocations: 56.56 kB / 404.6 MB, free: 6.324 MB / 346.7 MB Notification: Performance of pre-optimization done (n=225): time 5.01e-06/0.5433, allocations: 0 / 404.6 MB, free: 6.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=232): time 0.03045/0.5737, allocations: 9.873 MB / 414.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.5738, allocations: 77.41 kB / 414.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005955/0.5798, allocations: 2.606 MB / 417.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004044/0.5802, allocations: 69.7 kB / 417.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.5824, allocations: 2.156 MB / 419.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001345/0.5838, allocations: 0.774 MB / 420.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.5841, allocations: 52 kB / 420.2 MB, free: 6.445 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003373/0.5845, allocations: 415.2 kB / 420.6 MB, free: 6.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004858/0.5894, allocations: 1.321 MB / 422 MB, free: 4.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005707/0.5951, allocations: 1.917 MB / 423.9 MB, free: 2.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006307/0.6014, allocations: 1.626 MB / 425.5 MB, free: 0.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/0.6015, allocations: 8 kB / 425.5 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.2779/0.8793, allocations: 4.294 MB / 429.8 MB, free: 100.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.8794, allocations: 15.72 kB / 429.8 MB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/0.8795, allocations: 19.69 kB / 429.8 MB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003779/0.8833, allocations: 0.7602 MB / 430.6 MB, free: 99.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/0.8876, allocations: 0.5818 MB / 431.2 MB, free: 99.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.9013, allocations: 10.2 MB / 441.4 MB, free: 92.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/0.9046, allocations: 117.7 kB / 441.5 MB, free: 92.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/0.9049, allocations: 99.66 kB / 441.6 MB, free: 92.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 277 * 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%) 8,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003413/0.9083, allocations: 1.609 MB / 443.2 MB, free: 91.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/0.9091, allocations: 314.8 kB / 443.5 MB, free: 91.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00946/0.9186, allocations: 3.98 MB / 447.5 MB, free: 89.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.9186, allocations: 19.31 kB / 447.5 MB, free: 89.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.9186, allocations: 11.75 kB / 447.5 MB, free: 89.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/0.9187, allocations: 15.33 kB / 447.5 MB, free: 89.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/0.9375, allocations: 8.687 MB / 456.2 MB, free: 82.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.9376, allocations: 7.984 kB / 456.2 MB, free: 82.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002945/0.9406, allocations: 358 kB / 456.6 MB, free: 81.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004552/0.9451, allocations: 0.9148 MB / 457.5 MB, free: 80.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004117/0.9456, allocations: 59.97 kB / 457.6 MB, free: 80.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/0.9653, allocations: 14.6 MB / 472.2 MB, free: 65.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.9653, allocations: 12.02 kB / 472.2 MB, free: 65.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.9785, allocations: 5.976 MB / 478.1 MB, free: 59.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.9805, allocations: 0.6886 MB / 478.8 MB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007599/0.9813, allocations: 51.98 kB / 478.9 MB, free: 58.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/0.9838, allocations: 127.9 kB / 479 MB, free: 58.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005977/0.9844, allocations: 193.7 kB / 479.2 MB, free: 58.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/0.9846, allocations: 63.98 kB / 479.3 MB, free: 58.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003866/0.9885, allocations: 2.003 MB / 481.3 MB, free: 56.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9885, allocations: 0 / 481.3 MB, free: 56.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003857/0.9924, allocations: 0.9475 MB / 482.2 MB, free: 55.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 156 * 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%) 8,(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006971/0.9931, allocations: 227.3 kB / 482.4 MB, free: 55.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00849/1.002, allocations: 3.963 MB / 486.4 MB, free: 51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.002, allocations: 4.469 kB / 486.4 MB, free: 51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005812/1.007, allocations: 2.685 MB / 489.1 MB, free: 48.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005444/1.013, allocations: 0.8513 MB / 489.9 MB, free: 47.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/1.035, allocations: 11.25 MB / 0.4894 GB, free: 36.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003979/1.039, allocations: 3.519 MB / 0.4929 GB, free: 32.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003917/1.043, allocations: 0.7527 MB / 0.4936 GB, free: 31.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008639/1.044, allocations: 195.4 kB / 0.4938 GB, free: 31.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/1.044, allocations: 0 / 0.4938 GB, free: 31.59 MB / 362.7 MB Notification: Performance of Templates: time 0.1205/1.164, allocations: 46.76 MB / 0.5395 GB, free: 0.7891 MB / 378.7 MB