Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") Notification: Performance of loadModel(HanserModelica): time 1.907/1.907, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.286e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.08925, allocations: 49.71 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.5586, allocations: 139.5 MB / 468.7 MB, free: 9.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5589, allocations: 73.72 kB / 468.8 MB, free: 9.199 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.88/1.439, allocations: 224.4 MB / 0.6769 GB, free: 14.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.809e-06/1.439, allocations: 3.938 kB / 0.6769 GB, free: 14.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003492/1.439, allocations: 147.8 kB / 0.677 GB, free: 14.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.02264/1.462, allocations: 6.272 MB / 0.6831 GB, free: 7.832 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.462, allocations: 11.98 kB / 0.6831 GB, free: 7.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02703/1.489, allocations: 3.667 MB / 0.6867 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3042/1.793, allocations: 5.564 MB / 0.6922 GB, free: 50.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000782/1.794, allocations: 494.3 kB / 0.6926 GB, free: 50.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/1.797, allocations: 0.6298 MB / 0.6933 GB, free: 50.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03079/1.828, allocations: 10.92 MB / 0.7039 GB, free: 49.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002783/1.828, allocations: 14.8 kB / 0.7039 GB, free: 49.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001629/1.83, allocations: 280.6 kB / 0.7042 GB, free: 49.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006646/1.83, allocations: 0.4934 MB / 0.7047 GB, free: 49.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02564/1.856, allocations: 10.34 MB / 0.7148 GB, free: 49.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07302/1.929, allocations: 37.89 MB / 0.7518 GB, free: 38.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.944, allocations: 12 MB / 0.7635 GB, free: 29.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007451/1.951, allocations: 4.096 MB / 0.7675 GB, free: 28.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000511/1.952, allocations: 278.8 kB / 0.7678 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/1.952, allocations: 80.31 kB / 0.7678 GB, free: 27.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=476): time 1.003e-05/1.952, allocations: 0 / 0.7678 GB, free: 27.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=482): time 0.03076/1.983, allocations: 14.64 MB / 0.7821 GB, free: 21.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.983, allocations: 98.89 kB / 0.7822 GB, free: 21.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004479/1.987, allocations: 2.389 MB / 0.7846 GB, free: 20.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008031/1.988, allocations: 91.42 kB / 0.7846 GB, free: 20.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/1.99, allocations: 2.611 MB / 0.7872 GB, free: 18.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001965/1.992, allocations: 1.598 MB / 0.7887 GB, free: 17.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005386/1.992, allocations: 103.2 kB / 0.7888 GB, free: 17.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003884/1.993, allocations: 0.532 MB / 0.7894 GB, free: 16.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006296/1.999, allocations: 3.12 MB / 0.7924 GB, free: 15.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007553/2.007, allocations: 4.418 MB / 0.7967 GB, free: 12.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007418/2.014, allocations: 3.939 MB / 0.8006 GB, free: 11.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-05/2.014, allocations: 11.38 kB / 0.8006 GB, free: 11.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01926/2.034, allocations: 9.073 MB / 0.8094 GB, free: 7.625 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/2.034, allocations: 23.66 kB / 0.8095 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.167e-05/2.034, allocations: 45.02 kB / 0.8095 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007779/2.041, allocations: 1.818 MB / 0.8113 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009192/2.051, allocations: 1.111 MB / 0.8124 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006645/2.057, allocations: 5.114 MB / 0.8174 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005318/2.063, allocations: 358.5 kB / 0.8177 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/2.064, allocations: 243 kB / 0.8179 GB, free: 1.523 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (581): * Single equations (assignments): 549 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * 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: 0 * Non-linear torn systems: 3 {6 9,6 9,6 45} Notification: Performance of prepare postOptimizeDAE: time 0.001052/2.065, allocations: 402.3 kB / 0.8183 GB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008451/2.066, allocations: 351.6 kB / 0.8187 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01931/2.085, allocations: 8.296 MB / 0.8268 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001498/2.085, allocations: 102.7 kB / 0.8269 GB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/2.085, allocations: 2.625 kB / 0.8269 GB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.072e-05/2.085, allocations: 21.66 kB / 0.8269 GB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04739/2.133, allocations: 18 MB / 0.8445 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/2.133, allocations: 8 kB / 0.8445 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004413/2.137, allocations: 0.684 MB / 0.8451 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005004/2.142, allocations: 1.724 MB / 0.8468 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007952/2.143, allocations: 107.2 kB / 0.8469 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007884/2.151, allocations: 4.984 MB / 0.8518 GB, free: 5.457 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/2.151, allocations: 7.938 kB / 0.8518 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3117/2.463, allocations: 12.89 MB / 0.8644 GB, free: 76.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003612/2.466, allocations: 1.102 MB / 0.8655 GB, free: 75.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/2.468, allocations: 78.28 kB / 0.8655 GB, free: 75.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003821/2.472, allocations: 230.7 kB / 0.8658 GB, free: 75.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/2.473, allocations: 351 kB / 0.8661 GB, free: 75.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005492/2.474, allocations: 138 kB / 0.8662 GB, free: 75.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003856/2.478, allocations: 1.767 MB / 0.8679 GB, free: 75.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.96e-07/2.478, allocations: 0 / 0.8679 GB, free: 75.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006809/2.485, allocations: 1.305 MB / 0.8692 GB, free: 75.79 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (smee.gamma,smee.excitation.electroMagneticConverter.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 344 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * 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: 0 * Non-linear torn systems: 3 {6 9,6 9,6 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/2.486, allocations: 0.5159 MB / 0.8697 GB, free: 75.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01694/2.503, allocations: 7.365 MB / 0.8769 GB, free: 75.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/2.503, allocations: 5.531 kB / 0.8769 GB, free: 75.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00839/2.512, allocations: 3.582 MB / 0.8804 GB, free: 75.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/2.516, allocations: 0.5781 MB / 0.881 GB, free: 75.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04256/2.559, allocations: 11.9 MB / 0.8926 GB, free: 73.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01271/2.571, allocations: 4.432 MB / 0.8969 GB, free: 72.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01177/2.583, allocations: 1.307 MB / 0.8982 GB, free: 72.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003007/2.586, allocations: 284 kB / 0.8985 GB, free: 72.64 MB / 474.7 MB Notification: Performance of SimCode: time 2.971e-06/2.586, allocations: 0 / 0.8985 GB, free: 72.64 MB / 474.7 MB Notification: Performance of Templates: time 0.1858/2.772, allocations: 67.46 MB / 0.9644 GB, free: 63.29 MB / 474.7 MB