Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") Notification: Performance of loadModel(HanserModelica): time 1.939/1.939, allocations: 214.7 MB / 226.9 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.704e-05, allocations: 4 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 49.71 MB / 329.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.425/0.5484, allocations: 139.9 MB / 469 MB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.5487, allocations: 72.16 kB / 469.1 MB, free: 8.766 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348/1.897, allocations: 274.5 MB / 0.7262 GB, free: 58.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.974e-06/1.897, allocations: 1.688 kB / 0.7262 GB, free: 58.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004723/1.897, allocations: 177 kB / 0.7264 GB, free: 58.54 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.02948/1.927, allocations: 7.558 MB / 0.7338 GB, free: 56.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.927, allocations: 8.312 kB / 0.7338 GB, free: 56.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03904/1.966, allocations: 4.547 MB / 0.7382 GB, free: 55.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/1.985, allocations: 6.7 MB / 0.7448 GB, free: 54.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007563/1.986, allocations: 0.586 MB / 0.7453 GB, free: 54.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003293/1.989, allocations: 0.7636 MB / 0.7461 GB, free: 54.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03669/2.026, allocations: 13.33 MB / 0.7591 GB, free: 53.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000311/2.026, allocations: 18.73 kB / 0.7591 GB, free: 53.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002442/2.028, allocations: 335.3 kB / 0.7594 GB, free: 53.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006591/2.029, allocations: 0.5941 MB / 0.76 GB, free: 53.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03287/2.062, allocations: 12.62 MB / 0.7723 GB, free: 53.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09272/2.155, allocations: 45.86 MB / 0.8171 GB, free: 28.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02194/2.177, allocations: 16.47 MB / 0.8332 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01196/2.189, allocations: 5.216 MB / 0.8383 GB, free: 9.387 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008485/2.19, allocations: 302.7 kB / 0.8386 GB, free: 9.094 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01684/2.207, allocations: 4.481 MB / 0.843 GB, free: 5.285 MB / 458.7 MB Notification: Performance of pre-optimization done (n=612): time 1.351e-05/2.207, allocations: 0 / 0.843 GB, free: 5.285 MB / 458.7 MB Notification: Performance of matching and sorting (n=618): time 0.06521/2.272, allocations: 20.18 MB / 0.8627 GB, free: 5.676 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002391/2.272, allocations: 322.8 kB / 0.863 GB, free: 5.297 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006467/2.279, allocations: 2.699 MB / 0.8656 GB, free: 2.871 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00115/2.28, allocations: 113.7 kB / 0.8657 GB, free: 2.754 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00309/2.283, allocations: 3.021 MB / 0.8687 GB, free: 72 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3587/2.642, allocations: 2.044 MB / 0.8707 GB, free: 73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008486/2.643, allocations: 122.2 kB / 0.8708 GB, free: 73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007385/2.643, allocations: 0.5684 MB / 0.8713 GB, free: 72.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009337/2.653, allocations: 3.855 MB / 0.8751 GB, free: 72.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01071/2.663, allocations: 5.259 MB / 0.8802 GB, free: 71.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/2.675, allocations: 4.828 MB / 0.885 GB, free: 71.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.453e-05/2.675, allocations: 13.91 kB / 0.885 GB, free: 71.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.02725/2.702, allocations: 11.27 MB / 0.896 GB, free: 70.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.54e-05/2.703, allocations: 47.73 kB / 0.896 GB, free: 70.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.39e-05/2.703, allocations: 36 kB / 0.8961 GB, free: 70.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007511/2.71, allocations: 2.563 MB / 0.8986 GB, free: 70.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007833/2.718, allocations: 1.275 MB / 0.8998 GB, free: 70.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/2.729, allocations: 6.994 MB / 0.9066 GB, free: 68.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006658/2.736, allocations: 427.5 kB / 0.907 GB, free: 68.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00169/2.738, allocations: 272.8 kB / 0.9073 GB, free: 68.36 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.002807/2.74, allocations: 476.3 kB / 0.9078 GB, free: 68.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/2.742, allocations: 427 kB / 0.9082 GB, free: 68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02503/2.767, allocations: 10.65 MB / 0.9186 GB, free: 67.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001648/2.767, allocations: 132.4 kB / 0.9187 GB, free: 67.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/2.767, allocations: 3.953 kB / 0.9187 GB, free: 67.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/2.767, allocations: 31.53 kB / 0.9187 GB, free: 67.59 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05094/2.818, allocations: 22.55 MB / 0.9407 GB, free: 59.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.1e-05/2.818, allocations: 3.531 kB / 0.9408 GB, free: 59.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005688/2.824, allocations: 0.8665 MB / 0.9416 GB, free: 59.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007266/2.831, allocations: 2.458 MB / 0.944 GB, free: 59.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001302/2.833, allocations: 129.6 kB / 0.9441 GB, free: 59.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00963/2.842, allocations: 6.82 MB / 0.9508 GB, free: 54.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/2.842, allocations: 7.438 kB / 0.9508 GB, free: 54.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0326/2.875, allocations: 15.87 MB / 0.9663 GB, free: 47.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0042/2.879, allocations: 1.361 MB / 0.9676 GB, free: 46.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/2.881, allocations: 101.7 kB / 0.9677 GB, free: 46.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004619/2.886, allocations: 293.4 kB / 0.968 GB, free: 46.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001766/2.888, allocations: 441.3 kB / 0.9684 GB, free: 46.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001178/2.889, allocations: 168 kB / 0.9686 GB, free: 46.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004495/2.893, allocations: 2.01 MB / 0.9705 GB, free: 45.51 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.049e-06/2.893, allocations: 0 / 0.9705 GB, free: 45.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008165/2.902, allocations: 1.574 MB / 0.9721 GB, free: 45.33 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.001932/2.904, allocations: 0.6188 MB / 0.9727 GB, free: 45.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02077/2.924, allocations: 9.232 MB / 0.9817 GB, free: 39.33 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.924, allocations: 0 / 0.9817 GB, free: 39.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01101/2.935, allocations: 4.652 MB / 0.9862 GB, free: 35.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005222/2.941, allocations: 0.7255 MB / 0.9869 GB, free: 34.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03791/2.979, allocations: 14.7 MB / 1.001 GB, free: 21.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/2.989, allocations: 5.309 MB / 1.006 GB, free: 17.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008262/2.998, allocations: 1.547 MB / 1.008 GB, free: 16.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002318/3, allocations: 341.4 kB / 1.008 GB, free: 16.12 MB / 474.7 MB Notification: Performance of SimCode: time 2.236e-06/3, allocations: 0 / 1.008 GB, free: 16.12 MB / 474.7 MB Notification: Performance of Templates: time 0.4938/3.494, allocations: 85.05 MB / 1.091 GB, free: 74.98 MB / 490.7 MB