Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") Notification: Performance of loadModel(HanserModelica): time 2.132/2.132, allocations: 214.7 MB / 226.9 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.465e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09031, allocations: 49.7 MB / 329.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4457/0.536, allocations: 139.9 MB / 469.1 MB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.5363, allocations: 80.58 kB / 469.2 MB, free: 8.758 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417/1.953, allocations: 275 MB / 0.7267 GB, free: 58.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.488e-06/1.953, allocations: 0 / 0.7267 GB, free: 58.28 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005195/1.954, allocations: 185.4 kB / 0.7269 GB, free: 58.26 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.03094/1.985, allocations: 7.556 MB / 0.7343 GB, free: 55.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.985, allocations: 8.469 kB / 0.7343 GB, free: 55.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03625/2.021, allocations: 4.54 MB / 0.7387 GB, free: 55.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/2.041, allocations: 6.709 MB / 0.7453 GB, free: 54.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008564/2.042, allocations: 0.5852 MB / 0.7458 GB, free: 54.58 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005194/2.048, allocations: 0.7616 MB / 0.7466 GB, free: 54.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04555/2.093, allocations: 13.33 MB / 0.7596 GB, free: 53.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003457/2.094, allocations: 17.28 kB / 0.7596 GB, free: 53.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002758/2.096, allocations: 338.4 kB / 0.7599 GB, free: 53.69 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007985/2.097, allocations: 0.5906 MB / 0.7605 GB, free: 53.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03214/2.129, allocations: 12.62 MB / 0.7728 GB, free: 52.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09491/2.224, allocations: 45.86 MB / 0.8176 GB, free: 27.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02079/2.245, allocations: 16.47 MB / 0.8337 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01144/2.257, allocations: 5.209 MB / 0.8388 GB, free: 9.055 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007962/2.257, allocations: 302.5 kB / 0.8391 GB, free: 8.766 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0109/2.268, allocations: 4.485 MB / 0.8435 GB, free: 4.953 MB / 458.7 MB Notification: Performance of pre-optimization done (n=612): time 1.65e-05/2.268, allocations: 0 / 0.8435 GB, free: 4.953 MB / 458.7 MB Notification: Performance of matching and sorting (n=618): time 0.06671/2.335, allocations: 20.31 MB / 0.8633 GB, free: 5.672 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/2.335, allocations: 317.3 kB / 0.8636 GB, free: 5.297 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006257/2.342, allocations: 2.7 MB / 0.8662 GB, free: 2.871 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001088/2.343, allocations: 113.7 kB / 0.8663 GB, free: 2.754 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002935/2.346, allocations: 3.014 MB / 0.8693 GB, free: 76 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2933/2.639, allocations: 2.044 MB / 0.8713 GB, free: 72.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007404/2.64, allocations: 123.5 kB / 0.8714 GB, free: 72.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006557/2.641, allocations: 0.5688 MB / 0.872 GB, free: 72.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009214/2.65, allocations: 3.855 MB / 0.8757 GB, free: 72.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/2.66, allocations: 5.26 MB / 0.8809 GB, free: 70.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/2.672, allocations: 4.826 MB / 0.8856 GB, free: 70.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-05/2.672, allocations: 10.62 kB / 0.8856 GB, free: 70.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.027/2.699, allocations: 11.27 MB / 0.8966 GB, free: 70.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.573e-05/2.699, allocations: 52.19 kB / 0.8966 GB, free: 70.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-05/2.699, allocations: 37.28 kB / 0.8967 GB, free: 70.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007145/2.707, allocations: 2.555 MB / 0.8992 GB, free: 70.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007684/2.714, allocations: 1.279 MB / 0.9004 GB, free: 70.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009933/2.724, allocations: 6.99 MB / 0.9072 GB, free: 68.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006711/2.731, allocations: 430.2 kB / 0.9077 GB, free: 68.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/2.733, allocations: 271.6 kB / 0.9079 GB, free: 68.14 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.001422/2.734, allocations: 472.6 kB / 0.9084 GB, free: 68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/2.735, allocations: 422.8 kB / 0.9088 GB, free: 67.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02413/2.759, allocations: 10.65 MB / 0.9192 GB, free: 67.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001606/2.76, allocations: 130.2 kB / 0.9193 GB, free: 67.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/2.76, allocations: 5.375 kB / 0.9193 GB, free: 67.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/2.76, allocations: 33.89 kB / 0.9193 GB, free: 67.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04904/2.809, allocations: 22.56 MB / 0.9414 GB, free: 59.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/2.809, allocations: 11.88 kB / 0.9414 GB, free: 59.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005494/2.814, allocations: 0.8693 MB / 0.9422 GB, free: 59.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007132/2.822, allocations: 2.439 MB / 0.9446 GB, free: 59.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001145/2.823, allocations: 132.8 kB / 0.9447 GB, free: 58.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009162/2.832, allocations: 6.825 MB / 0.9514 GB, free: 54.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.858e-06/2.832, allocations: 7.219 kB / 0.9514 GB, free: 54.79 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03158/2.864, allocations: 15.88 MB / 0.9669 GB, free: 47.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0043/2.868, allocations: 1.361 MB / 0.9682 GB, free: 46.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001607/2.87, allocations: 101.5 kB / 0.9683 GB, free: 46.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00485/2.874, allocations: 290.6 kB / 0.9686 GB, free: 46.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001666/2.876, allocations: 438.4 kB / 0.969 GB, free: 46.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006444/2.877, allocations: 164.5 kB / 0.9692 GB, free: 46.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004169/2.881, allocations: 2.012 MB / 0.9712 GB, free: 45.35 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.775e-06/2.881, allocations: 3.219 kB / 0.9712 GB, free: 45.35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007874/2.889, allocations: 1.578 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.001944/2.891, allocations: 0.6108 MB / 0.9733 GB, free: 44.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01992/2.911, allocations: 9.234 MB / 0.9823 GB, free: 39.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.291e-06/2.911, allocations: 3.281 kB / 0.9823 GB, free: 39.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01045/2.921, allocations: 4.645 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.005165/2.927, allocations: 0.7227 MB / 0.9876 GB, free: 34.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03514/2.962, allocations: 14.71 MB / 1.002 GB, free: 21.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00911/2.971, allocations: 5.31 MB / 1.007 GB, free: 17.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007568/2.978, allocations: 1.541 MB / 1.009 GB, free: 16.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/2.981, allocations: 346.6 kB / 1.009 GB, free: 16 MB / 474.7 MB Notification: Performance of SimCode: time 2.33e-06/2.981, allocations: 4 kB / 1.009 GB, free: 16 MB / 474.7 MB Notification: Performance of Templates: time 0.4908/3.471, allocations: 84.92 MB / 1.092 GB, free: 75.11 MB / 490.7 MB