Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") Notification: Performance of loadModel(HanserModelica): time 1.988/1.988, allocations: 214.7 MB / 226.9 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.308e-05, allocations: 4 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/0.08669, allocations: 49.71 MB / 329.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4585/0.5453, allocations: 139.9 MB / 469.1 MB, free: 8.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.5455, allocations: 78.53 kB / 469.2 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.385/1.93, allocations: 275 MB / 0.7267 GB, free: 58.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.93, allocations: 3.625 kB / 0.7267 GB, free: 58.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005114/1.931, allocations: 176 kB / 0.7269 GB, free: 58.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.0301/1.961, allocations: 7.559 MB / 0.7343 GB, free: 55.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.961, allocations: 12.16 kB / 0.7343 GB, free: 55.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03652/1.997, allocations: 4.548 MB / 0.7387 GB, free: 55.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02006/2.017, allocations: 6.696 MB / 0.7453 GB, free: 54.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007812/2.018, allocations: 0.59 MB / 0.7458 GB, free: 54.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003275/2.022, allocations: 0.7646 MB / 0.7466 GB, free: 54.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0368/2.058, allocations: 13.33 MB / 0.7596 GB, free: 53.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003615/2.059, allocations: 14.56 kB / 0.7596 GB, free: 53.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002881/2.062, allocations: 340.2 kB / 0.7599 GB, free: 53.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007285/2.062, allocations: 0.592 MB / 0.7605 GB, free: 53.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03304/2.096, allocations: 12.61 MB / 0.7728 GB, free: 52.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09983/2.195, allocations: 45.87 MB / 0.8176 GB, free: 27.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02172/2.217, allocations: 16.46 MB / 0.8337 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01172/2.229, allocations: 5.217 MB / 0.8388 GB, free: 8.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008372/2.23, allocations: 304.5 kB / 0.8391 GB, free: 8.637 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0109/2.241, allocations: 4.479 MB / 0.8435 GB, free: 4.828 MB / 458.7 MB Notification: Performance of pre-optimization done (n=612): time 1.423e-05/2.241, allocations: 0 / 0.8435 GB, free: 4.828 MB / 458.7 MB Notification: Performance of matching and sorting (n=618): time 0.06931/2.31, allocations: 20.36 MB / 0.8633 GB, free: 5.672 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000234/2.31, allocations: 320.1 kB / 0.8636 GB, free: 5.297 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006575/2.317, allocations: 2.7 MB / 0.8663 GB, free: 2.871 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001156/2.318, allocations: 109.7 kB / 0.8664 GB, free: 2.758 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003242/2.321, allocations: 3.02 MB / 0.8693 GB, free: 76 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2942/2.616, allocations: 2.039 MB / 0.8713 GB, free: 72.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/2.617, allocations: 123.2 kB / 0.8714 GB, free: 72.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000731/2.618, allocations: 0.5704 MB / 0.872 GB, free: 72.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009252/2.627, allocations: 3.858 MB / 0.8758 GB, free: 72.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01063/2.638, allocations: 5.26 MB / 0.8809 GB, free: 70.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/2.649, allocations: 4.824 MB / 0.8856 GB, free: 70.72 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-05/2.649, allocations: 13.5 kB / 0.8856 GB, free: 70.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.03025/2.68, allocations: 11.28 MB / 0.8966 GB, free: 70.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/2.68, allocations: 51.58 kB / 0.8967 GB, free: 70.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.362e-05/2.68, allocations: 36.97 kB / 0.8967 GB, free: 70.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008029/2.688, allocations: 2.552 MB / 0.8992 GB, free: 70.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007146/2.695, allocations: 1.284 MB / 0.9005 GB, free: 70.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009842/2.705, allocations: 6.991 MB / 0.9073 GB, free: 68.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00638/2.711, allocations: 427 kB / 0.9077 GB, free: 68.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001631/2.713, allocations: 277.3 kB / 0.908 GB, free: 68.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 632 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 33 * 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: 0 * Non-linear torn systems: 4 {4 4,6 9,6 9,10 71} Notification: Performance of prepare postOptimizeDAE: time 0.001882/2.715, allocations: 472.7 kB / 0.9084 GB, free: 67.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/2.716, allocations: 426.1 kB / 0.9088 GB, free: 67.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0252/2.741, allocations: 10.65 MB / 0.9192 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001662/2.742, allocations: 131 kB / 0.9194 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/2.742, allocations: 3.781 kB / 0.9194 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/2.742, allocations: 32.97 kB / 0.9194 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06902/2.811, allocations: 22.55 MB / 0.9414 GB, free: 59.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.397e-05/2.811, allocations: 7.141 kB / 0.9414 GB, free: 59.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01037/2.821, allocations: 0.8659 MB / 0.9423 GB, free: 59.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01399/2.835, allocations: 2.45 MB / 0.9447 GB, free: 58.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002002/2.837, allocations: 140.4 kB / 0.9448 GB, free: 58.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/2.852, allocations: 6.819 MB / 0.9514 GB, free: 54.63 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/2.852, allocations: 3.438 kB / 0.9514 GB, free: 54.63 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03098/2.883, allocations: 15.88 MB / 0.967 GB, free: 47.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0041/2.887, allocations: 1.357 MB / 0.9683 GB, free: 46.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001758/2.889, allocations: 102.1 kB / 0.9684 GB, free: 46.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004753/2.894, allocations: 293.7 kB / 0.9687 GB, free: 46.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001637/2.895, allocations: 439.2 kB / 0.9691 GB, free: 46.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009146/2.896, allocations: 170.3 kB / 0.9692 GB, free: 45.99 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004381/2.901, allocations: 2.001 MB / 0.9712 GB, free: 45.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.874e-06/2.901, allocations: 0 / 0.9712 GB, free: 45.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008014/2.909, allocations: 1.579 MB / 0.9727 GB, free: 45 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (smee.inertiaRotor.w,smee.excitation.electroMagneticConverter.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (467): * Single equations (assignments): 429 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 33 * 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: 0 * Non-linear torn systems: 4 {4 4,6 9,6 9,10 69} Notification: Performance of Backend phase and start with SimCode phase: time 0.001921/2.911, allocations: 0.6124 MB / 0.9733 GB, free: 44.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01974/2.93, allocations: 9.235 MB / 0.9824 GB, free: 39.19 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/2.93, allocations: 3.5 kB / 0.9824 GB, free: 39.19 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01013/2.941, allocations: 4.647 MB / 0.9869 GB, free: 35.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004861/2.946, allocations: 0.7263 MB / 0.9876 GB, free: 34.49 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03484/2.98, allocations: 14.7 MB / 1.002 GB, free: 21.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008668/2.989, allocations: 5.311 MB / 1.007 GB, free: 17.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007179/2.996, allocations: 1.546 MB / 1.009 GB, free: 16.28 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/2.998, allocations: 341.5 kB / 1.009 GB, free: 15.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.813e-06/2.998, allocations: 0 / 1.009 GB, free: 15.97 MB / 474.7 MB Notification: Performance of Templates: time 0.5262/3.524, allocations: 84.96 MB / 1.092 GB, free: 74.92 MB / 490.7 MB