Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") Notification: Performance of loadModel(HanserModelica): time 2.028/2.028, allocations: 214.7 MB / 226.9 MB, free: 1.289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.768e-05, allocations: 4 kB / 279.5 MB, free: 13.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08724/0.0873, allocations: 49.7 MB / 329.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/0.4926, allocations: 117 MB / 446.2 MB, free: 15.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4929, allocations: 75.03 kB / 446.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.785/1.278, allocations: 157.9 MB / 0.59 GB, free: 87.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.712e-06/1.278, allocations: 3.469 kB / 0.59 GB, free: 87.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003167/1.278, allocations: 90 kB / 0.5901 GB, free: 87.69 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01274/1.291, allocations: 3.584 MB / 0.5936 GB, free: 85.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.291, allocations: 15.05 kB / 0.5936 GB, free: 85.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007511/1.299, allocations: 0.8826 MB / 0.5945 GB, free: 85.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/1.31, allocations: 3.61 MB / 0.598 GB, free: 83.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/1.311, allocations: 275.8 kB / 0.5982 GB, free: 83.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/1.312, allocations: 370 kB / 0.5986 GB, free: 83.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/1.324, allocations: 4.569 MB / 0.6031 GB, free: 81.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/1.324, allocations: 0 / 0.6031 GB, free: 81.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000541/1.325, allocations: 156.7 kB / 0.6032 GB, free: 81.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/1.325, allocations: 157.7 kB / 0.6034 GB, free: 81.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/1.336, allocations: 3.634 MB / 0.6069 GB, free: 79.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/1.367, allocations: 15.79 MB / 0.6223 GB, free: 65.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006177/1.374, allocations: 6.905 MB / 0.6291 GB, free: 57.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/1.377, allocations: 1.481 MB / 0.6305 GB, free: 56.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00861/1.385, allocations: 4.023 MB / 0.6344 GB, free: 52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.385, allocations: 51.88 kB / 0.6345 GB, free: 51.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 4.573e-06/1.385, allocations: 3.938 kB / 0.6345 GB, free: 51.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.01216/1.398, allocations: 5.068 MB / 0.6394 GB, free: 46.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.398, allocations: 68.72 kB / 0.6395 GB, free: 46.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003742/1.401, allocations: 1.877 MB / 0.6413 GB, free: 44.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/1.402, allocations: 53.7 kB / 0.6414 GB, free: 44.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/1.403, allocations: 1.73 MB / 0.6431 GB, free: 42.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005164/1.403, allocations: 0.5357 MB / 0.6436 GB, free: 42.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/1.403, allocations: 48 kB / 0.6437 GB, free: 42.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/1.404, allocations: 390.5 kB / 0.644 GB, free: 42.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/1.405, allocations: 0.7541 MB / 0.6448 GB, free: 41.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/1.407, allocations: 1.481 MB / 0.6462 GB, free: 39.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/1.409, allocations: 1.036 MB / 0.6472 GB, free: 38.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/1.409, allocations: 8 kB / 0.6472 GB, free: 38.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.006798/1.416, allocations: 2.799 MB / 0.65 GB, free: 35.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/1.416, allocations: 16 kB / 0.65 GB, free: 35.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.228e-05/1.416, allocations: 24 kB / 0.65 GB, free: 35.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/1.418, allocations: 302.8 kB / 0.6503 GB, free: 35.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/1.423, allocations: 0.4992 MB / 0.6508 GB, free: 34.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008735/1.431, allocations: 4.447 MB / 0.6551 GB, free: 30.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/1.436, allocations: 103.8 kB / 0.6552 GB, free: 29.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006494/1.436, allocations: 99.98 kB / 0.6553 GB, free: 29.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007605/1.437, allocations: 248.3 kB / 0.6555 GB, free: 29.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009703/1.438, allocations: 229.2 kB / 0.6558 GB, free: 29.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008473/1.447, allocations: 2.283 MB / 0.658 GB, free: 27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/1.447, allocations: 12 kB / 0.658 GB, free: 26.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/1.447, allocations: 8 kB / 0.658 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.584e-05/1.447, allocations: 7.969 kB / 0.658 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/1.467, allocations: 5.51 MB / 0.6634 GB, free: 21.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/1.467, allocations: 0 / 0.6634 GB, free: 21.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/1.47, allocations: 271.9 kB / 0.6637 GB, free: 21.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/1.472, allocations: 334.2 kB / 0.664 GB, free: 20.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003523/1.473, allocations: 39.98 kB / 0.664 GB, free: 20.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/1.485, allocations: 6.337 MB / 0.6702 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/1.486, allocations: 4.031 kB / 0.6702 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.496, allocations: 3.43 MB / 0.6736 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.498, allocations: 482.2 kB / 0.674 GB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006659/1.498, allocations: 39.94 kB / 0.6741 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.5, allocations: 71.95 kB / 0.6741 GB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/1.5, allocations: 121.1 kB / 0.6742 GB, free: 9.703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.501, allocations: 43.98 kB / 0.6743 GB, free: 9.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003017/1.504, allocations: 1.411 MB / 0.6757 GB, free: 8.227 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.029e-06/1.504, allocations: 192 / 0.6757 GB, free: 8.227 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003636/1.507, allocations: 0.6993 MB / 0.6763 GB, free: 7.527 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.strayReluctance.Phi.re,smee.stator.strayReluctance.Phi.im,constantTorque.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 3 {(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000767/1.508, allocations: 456.3 kB / 0.6768 GB, free: 7.113 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004187/1.512, allocations: 2.253 MB / 0.679 GB, free: 4.828 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.934e-06/1.512, allocations: 0 / 0.679 GB, free: 4.828 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002502/1.515, allocations: 1.33 MB / 0.6803 GB, free: 3.465 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/1.518, allocations: 0.5357 MB / 0.6808 GB, free: 2.938 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2629/1.781, allocations: 5.193 MB / 0.6859 GB, free: 91.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004848/1.786, allocations: 2.579 MB / 0.6884 GB, free: 91.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003196/1.789, allocations: 0.513 MB / 0.6889 GB, free: 91.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007375/1.79, allocations: 153.1 kB / 0.689 GB, free: 91.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.836e-06/1.79, allocations: 1.625 kB / 0.689 GB, free: 91.11 MB / 442.7 MB Notification: Performance of Templates: time 0.08786/1.878, allocations: 32.43 MB / 0.7207 GB, free: 89.65 MB / 442.7 MB