Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") Notification: Performance of loadModel(HanserModelica): time 1.96/1.96, allocations: 214.7 MB / 226.9 MB, free: 1.293 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.5e-05, allocations: 4 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08974/0.0898, allocations: 49.69 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4816/0.5715, allocations: 139.9 MB / 469.1 MB, free: 8.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.5717, allocations: 74.66 kB / 469.2 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296/1.868, allocations: 275 MB / 0.7267 GB, free: 58.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.242e-06/1.868, allocations: 0 / 0.7267 GB, free: 58.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004965/1.868, allocations: 177.2 kB / 0.7269 GB, free: 58.36 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.0311/1.899, allocations: 7.548 MB / 0.7343 GB, free: 55.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.899, allocations: 14.22 kB / 0.7343 GB, free: 55.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03934/1.939, allocations: 4.539 MB / 0.7387 GB, free: 55.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02094/1.96, allocations: 6.701 MB / 0.7453 GB, free: 54.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008054/1.961, allocations: 0.5902 MB / 0.7458 GB, free: 54.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/1.964, allocations: 0.7613 MB / 0.7466 GB, free: 54.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0382/2.002, allocations: 13.32 MB / 0.7596 GB, free: 53.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003914/2.003, allocations: 29.34 kB / 0.7596 GB, free: 53.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002869/2.006, allocations: 333 kB / 0.7599 GB, free: 53.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007867/2.007, allocations: 0.5963 MB / 0.7605 GB, free: 53.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03256/2.039, allocations: 12.62 MB / 0.7728 GB, free: 52.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09602/2.135, allocations: 45.85 MB / 0.8176 GB, free: 27.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02203/2.157, allocations: 16.48 MB / 0.8337 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01199/2.169, allocations: 5.212 MB / 0.8388 GB, free: 9.023 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008749/2.17, allocations: 298.6 kB / 0.8391 GB, free: 8.734 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0113/2.182, allocations: 4.481 MB / 0.8435 GB, free: 4.926 MB / 458.7 MB Notification: Performance of pre-optimization done (n=612): time 1.449e-05/2.182, allocations: 0 / 0.8435 GB, free: 4.926 MB / 458.7 MB Notification: Performance of matching and sorting (n=618): time 0.07152/2.253, allocations: 20.31 MB / 0.8633 GB, free: 5.668 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002487/2.253, allocations: 323 kB / 0.8636 GB, free: 5.293 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007293/2.261, allocations: 2.697 MB / 0.8662 GB, free: 2.867 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00119/2.262, allocations: 113.7 kB / 0.8663 GB, free: 2.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003378/2.265, allocations: 3.016 MB / 0.8693 GB, free: 72 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2921/2.558, allocations: 2.046 MB / 0.8713 GB, free: 72.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007296/2.558, allocations: 119.6 kB / 0.8714 GB, free: 72.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006199/2.559, allocations: 0.5715 MB / 0.872 GB, free: 72.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009038/2.568, allocations: 3.853 MB / 0.8757 GB, free: 72.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01055/2.579, allocations: 5.263 MB / 0.8809 GB, free: 71.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/2.591, allocations: 4.828 MB / 0.8856 GB, free: 70.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.002e-05/2.591, allocations: 11.31 kB / 0.8856 GB, free: 70.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.03386/2.625, allocations: 11.27 MB / 0.8966 GB, free: 70.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/2.625, allocations: 51.17 kB / 0.8966 GB, free: 70.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.932e-05/2.625, allocations: 42.61 kB / 0.8967 GB, free: 70.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007424/2.632, allocations: 2.553 MB / 0.8992 GB, free: 70.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007642/2.64, allocations: 1.278 MB / 0.9004 GB, free: 70.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009676/2.65, allocations: 6.994 MB / 0.9073 GB, free: 68.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006477/2.656, allocations: 428.5 kB / 0.9077 GB, free: 68.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/2.658, allocations: 272 kB / 0.9079 GB, free: 68.17 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.001528/2.659, allocations: 473.5 kB / 0.9084 GB, free: 68.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/2.66, allocations: 422.2 kB / 0.9088 GB, free: 67.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02345/2.684, allocations: 10.65 MB / 0.9192 GB, free: 67.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001591/2.684, allocations: 132.2 kB / 0.9193 GB, free: 67.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/2.684, allocations: 3.953 kB / 0.9193 GB, free: 67.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.964e-05/2.684, allocations: 35.58 kB / 0.9193 GB, free: 67.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04821/2.732, allocations: 22.56 MB / 0.9414 GB, free: 59.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.489e-05/2.732, allocations: 3.562 kB / 0.9414 GB, free: 59.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005953/2.738, allocations: 0.866 MB / 0.9422 GB, free: 59.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007304/2.746, allocations: 2.448 MB / 0.9446 GB, free: 59.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001199/2.747, allocations: 135.2 kB / 0.9447 GB, free: 58.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009599/2.757, allocations: 6.829 MB / 0.9514 GB, free: 54.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.309e-06/2.757, allocations: 5.938 kB / 0.9514 GB, free: 54.79 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03313/2.79, allocations: 15.87 MB / 0.9669 GB, free: 47.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004045/2.794, allocations: 1.358 MB / 0.9682 GB, free: 46.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/2.796, allocations: 105.7 kB / 0.9683 GB, free: 46.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004488/2.8, allocations: 286.8 kB / 0.9686 GB, free: 46.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001462/2.802, allocations: 436.8 kB / 0.969 GB, free: 46.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007282/2.802, allocations: 172.5 kB / 0.9692 GB, free: 46.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004254/2.807, allocations: 2.009 MB / 0.9712 GB, free: 45.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.096e-06/2.807, allocations: 0 / 0.9712 GB, free: 45.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007565/2.814, allocations: 1.576 MB / 0.9727 GB, free: 45.16 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.001745/2.816, allocations: 0.6134 MB / 0.9733 GB, free: 44.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02063/2.837, allocations: 9.232 MB / 0.9823 GB, free: 39.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.84e-06/2.837, allocations: 2.344 kB / 0.9823 GB, free: 39.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01052/2.847, allocations: 4.649 MB / 0.9869 GB, free: 35.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/2.852, allocations: 0.7167 MB / 0.9876 GB, free: 34.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03506/2.887, allocations: 14.72 MB / 1.002 GB, free: 21.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00984/2.897, allocations: 5.308 MB / 1.007 GB, free: 17.37 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007149/2.905, allocations: 1.545 MB / 1.009 GB, free: 16.31 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/2.907, allocations: 343.5 kB / 1.009 GB, free: 15.99 MB / 474.7 MB Notification: Performance of SimCode: time 1.821e-06/2.907, allocations: 0 / 1.009 GB, free: 15.99 MB / 474.7 MB Notification: Performance of Templates: time 0.5793/3.486, allocations: 84.94 MB / 1.092 GB, free: 75.15 MB / 490.7 MB