Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.982e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 50.42 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02327/0.1333, allocations: 12.99 MB / 358 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.1467, allocations: 4.743 MB / 362.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003187/0.15, allocations: 123.6 kB / 362.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.1538, allocations: 0.8351 MB / 363.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006379/0.1602, allocations: 1.304 MB / 365 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.1637, allocations: 0.6782 MB / 365.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007702/0.1714, allocations: 2.624 MB / 368.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004641/0.1761, allocations: 2.074 MB / 370.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.1792, allocations: 1.251 MB / 371.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003875/0.1832, allocations: 1.608 MB / 373.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.1855, allocations: 347.7 kB / 373.6 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.1868, allocations: 156 kB / 373.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.1884, allocations: 0.8251 MB / 374.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.19, allocations: 368 kB / 374.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.2008, allocations: 6.556 MB / 381.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2009, allocations: 0 / 381.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.2009, allocations: 4 kB / 381.5 MB, free: 4.328 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002482/0.2012, allocations: 0 / 381.5 MB, free: 4.328 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01669/0.2179, allocations: 4.204 MB / 385.7 MB, free: 52 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.2179, allocations: 8.031 kB / 385.7 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008787/0.2267, allocations: 0.9939 MB / 386.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009005/0.2358, allocations: 2.773 MB / 389.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005082/0.2363, allocations: 304.1 kB / 389.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.2378, allocations: 395.9 kB / 390.1 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/0.2555, allocations: 5.178 MB / 395.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/0.2557, allocations: 0 / 395.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008187/0.2565, allocations: 164 kB / 395.5 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002796/0.2568, allocations: 176 kB / 395.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01554/0.2724, allocations: 4.462 MB / 400.1 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3363/0.6088, allocations: 16.95 MB / 417.1 MB, free: 35.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.6195, allocations: 8.385 MB / 425.4 MB, free: 27.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.6301, allocations: 4.176 MB / 429.6 MB, free: 24.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.6302, allocations: 54.69 kB / 429.7 MB, free: 24.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=161): time 4.999e-06/0.6302, allocations: 4 kB / 429.7 MB, free: 24.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=165): time 0.0198/0.65, allocations: 6.443 MB / 436.1 MB, free: 20.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.6501, allocations: 74.73 kB / 436.2 MB, free: 20.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004236/0.6544, allocations: 2.009 MB / 438.2 MB, free: 19.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003302/0.6548, allocations: 49.52 kB / 438.2 MB, free: 19.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.6559, allocations: 1.732 MB / 440 MB, free: 17.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006384/0.6566, allocations: 0.5658 MB / 440.5 MB, free: 17.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.6568, allocations: 43.94 kB / 440.6 MB, free: 17.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6569, allocations: 402.6 kB / 441 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002345/0.6593, allocations: 0.872 MB / 441.8 MB, free: 16.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002589/0.6619, allocations: 1.559 MB / 443.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002756/0.6647, allocations: 1.15 MB / 444.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/0.6647, allocations: 8 kB / 444.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.006577/0.6713, allocations: 2.777 MB / 447.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.6714, allocations: 16 kB / 447.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/0.6715, allocations: 20 kB / 447.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004357/0.6719, allocations: 126.2 kB / 447.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/0.6759, allocations: 0.5616 MB / 448.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.6778, allocations: 1.822 MB / 449.9 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/0.6808, allocations: 123.9 kB / 450 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.6811, allocations: 99.98 kB / 450.1 MB, free: 7.633 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 268 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002836/0.6839, allocations: 1.176 MB / 451.3 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006804/0.6846, allocations: 245.1 kB / 451.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006472/0.6911, allocations: 2.539 MB / 454.1 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.6912, allocations: 23.95 kB / 454.1 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.6912, allocations: 4 kB / 454.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.6912, allocations: 7.969 kB / 454.1 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.7063, allocations: 5.999 MB / 460.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/0.7064, allocations: 4.281 kB / 460.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002876/0.7093, allocations: 312.5 kB / 460.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/0.7109, allocations: 325.9 kB / 460.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002897/0.7112, allocations: 39.95 kB / 460.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.7218, allocations: 6.439 MB / 467.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.7219, allocations: 4 kB / 467.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/0.733, allocations: 3.852 MB / 471.1 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/0.735, allocations: 0.5018 MB / 471.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008252/0.7359, allocations: 37.53 kB / 471.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/0.7383, allocations: 91.92 kB / 471.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000478/0.7388, allocations: 121.1 kB / 471.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.739, allocations: 47.98 kB / 471.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004165/0.7432, allocations: 1.533 MB / 473.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.41e-07/0.7432, allocations: 0 / 473.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004266/0.7475, allocations: 0.6744 MB / 474.1 MB, free: 14.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 134 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006536/0.7482, allocations: 189.5 kB / 474.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007279/0.7555, allocations: 2.322 MB / 476.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.7556, allocations: 0 / 476.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004444/0.76, allocations: 1.492 MB / 478.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004618/0.7647, allocations: 0.5644 MB / 478.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/0.7866, allocations: 8.317 MB / 486.9 MB, free: 1.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004909/0.7916, allocations: 2.674 MB / 489.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.7929, allocations: 179.4 kB / 489.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.674e-06/0.7929, allocations: 0 / 489.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of Templates: time 0.465/1.258, allocations: 90.14 MB / 0.5663 GB, free: 142.2 MB / 442.7 MB