Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 2.292/2.292, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.942e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.41 MB / 345 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier): time 0.02262/0.1352, allocations: 13.11 MB / 358.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01885/0.1541, allocations: 7.118 MB / 365.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003493/0.1576, allocations: 123.7 kB / 365.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.1617, allocations: 0.8311 MB / 366.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006481/0.1683, allocations: 1.359 MB / 367.5 MB, free: 2.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007436/0.1757, allocations: 1.611 MB / 369.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008086/0.1838, allocations: 2.675 MB / 371.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004134/0.188, allocations: 1.703 MB / 373.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003106/0.1912, allocations: 1.25 MB / 374.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003628/0.1949, allocations: 1.503 MB / 376.3 MB, free: 9.574 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.1975, allocations: 423.6 kB / 376.7 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.1986, allocations: 152 kB / 376.8 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.2, allocations: 0.7316 MB / 377.6 MB, free: 8.277 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.2017, allocations: 359.9 kB / 377.9 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.212, allocations: 6.093 MB / 384 MB, free: 1.816 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2121, allocations: 0 / 384 MB, free: 1.816 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2121, allocations: 4 kB / 384 MB, free: 1.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000271/0.2124, allocations: 0 / 384 MB, free: 1.812 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01585/0.2282, allocations: 4.004 MB / 388 MB, free: 13.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.2283, allocations: 11.97 kB / 388 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008821/0.2371, allocations: 0.9901 MB / 389 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008942/0.2461, allocations: 2.621 MB / 391.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003973/0.2466, allocations: 275.4 kB / 391.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/0.248, allocations: 379.8 kB / 392.3 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.2637, allocations: 4.673 MB / 397 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.2639, allocations: 7.984 kB / 397 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008221/0.2648, allocations: 155.9 kB / 397.1 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002369/0.265, allocations: 155.3 kB / 397.3 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.2787, allocations: 3.999 MB / 401.3 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3318/0.6106, allocations: 16.04 MB / 417.3 MB, free: 36.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.622, allocations: 7.826 MB / 425.1 MB, free: 28.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.6339, allocations: 4.298 MB / 429.4 MB, free: 25.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.634, allocations: 60.75 kB / 429.5 MB, free: 25.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=184): time 4.749e-06/0.634, allocations: 0 / 429.5 MB, free: 25.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=188): time 0.0235/0.6575, allocations: 7.316 MB / 436.8 MB, free: 21.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.6576, allocations: 178.9 kB / 437 MB, free: 20.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004742/0.6624, allocations: 1.96 MB / 438.9 MB, free: 19.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004/0.6628, allocations: 57.55 kB / 439 MB, free: 19.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.664, allocations: 1.559 MB / 440.6 MB, free: 18.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008093/0.6649, allocations: 0.6333 MB / 441.2 MB, free: 17.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.6651, allocations: 47.72 kB / 441.2 MB, free: 17.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6652, allocations: 401.8 kB / 441.6 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/0.6676, allocations: 0.8778 MB / 442.5 MB, free: 16.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002753/0.6704, allocations: 1.499 MB / 444 MB, free: 14.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.6733, allocations: 1.123 MB / 445.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/0.6734, allocations: 4 kB / 445.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007931/0.6813, allocations: 3.032 MB / 448.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001601/0.6829, allocations: 7.145 MB / 455.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-05/0.6831, allocations: 20 kB / 455.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.6849, allocations: 471.8 kB / 455.8 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/0.6888, allocations: 499.2 kB / 456.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/0.7019, allocations: 8.18 MB / 464.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/0.7049, allocations: 104 kB / 464.6 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004999/0.7055, allocations: 91.98 kB / 464.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.7055, allocations: 7.828 kB / 464.7 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008729/0.7143, allocations: 2.915 MB / 467.6 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.745e-05/0.7144, allocations: 20 kB / 467.6 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.7162, allocations: 464.7 kB / 468 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/0.7201, allocations: 491.2 kB / 468.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.7333, allocations: 8.226 MB / 476.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.7351, allocations: 100 kB / 476.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.7354, allocations: 88.09 kB / 476.9 MB, free: 12.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 252 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003274/0.7387, allocations: 1.068 MB / 478 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008492/0.7396, allocations: 260.9 kB / 478.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008445/0.748, allocations: 2.821 MB / 481.1 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/0.7481, allocations: 20 kB / 481.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.7482, allocations: 4 kB / 481.1 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-05/0.7482, allocations: 7.969 kB / 481.1 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/0.7665, allocations: 6.234 MB / 487.3 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/0.7666, allocations: 0 / 487.3 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/0.7691, allocations: 268 kB / 487.6 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/0.772, allocations: 0.6528 MB / 488.3 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003462/0.7724, allocations: 43.98 kB / 488.3 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/0.7934, allocations: 12.8 MB / 0.4894 GB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.7935, allocations: 4.25 kB / 0.4894 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.8048, allocations: 4.231 MB / 0.4935 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/0.8068, allocations: 0.5174 MB / 0.494 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008841/0.8077, allocations: 47.98 kB / 0.494 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/0.8102, allocations: 88.31 kB / 0.4941 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005505/0.8108, allocations: 141.8 kB / 0.4943 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/0.811, allocations: 51.98 kB / 0.4943 GB, free: 13.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004155/0.8152, allocations: 1.498 MB / 0.4958 GB, free: 12.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.8152, allocations: 0 / 0.4958 GB, free: 12.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007119/0.8224, allocations: 1.279 MB / 0.497 GB, free: 10.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 12 (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,speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 129 * 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: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009179/0.8233, allocations: 231.8 kB / 0.4972 GB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01267/0.836, allocations: 4.883 MB / 0.502 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/0.8361, allocations: 8.125 kB / 0.502 GB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005365/0.8415, allocations: 2.003 MB / 0.504 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005249/0.8468, allocations: 0.6349 MB / 0.5046 GB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/0.8692, allocations: 8.277 MB / 0.5127 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004835/0.8741, allocations: 2.541 MB / 0.5152 GB, free: 8.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/0.8754, allocations: 167.4 kB / 0.5153 GB, free: 7.883 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8754, allocations: 3.938 kB / 0.5153 GB, free: 7.879 MB / 410.7 MB Notification: Performance of Templates: time 0.539/1.414, allocations: 139.4 MB / 0.6515 GB, free: 58.5 MB / 442.7 MB