Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") Notification: Performance of loadModel(HanserModelica): time 2.072/2.072, allocations: 214.7 MB / 226.9 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.181e-05/4.195e-05, allocations: 7.984 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.08682, allocations: 49.72 MB / 329.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.4846, allocations: 117 MB / 446.2 MB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.4848, allocations: 73.84 kB / 446.2 MB, free: 15.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8119/1.297, allocations: 157.7 MB / 0.5898 GB, free: 87.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.513e-06/1.297, allocations: 0 / 0.5898 GB, free: 87.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003/1.297, allocations: 94.72 kB / 0.5899 GB, free: 87.68 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.0116/1.309, allocations: 3.578 MB / 0.5934 GB, free: 85.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.309, allocations: 19.14 kB / 0.5934 GB, free: 85.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0066/1.315, allocations: 0.8794 MB / 0.5943 GB, free: 85.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/1.327, allocations: 3.61 MB / 0.5978 GB, free: 83.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/1.327, allocations: 284.5 kB / 0.5981 GB, free: 83.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/1.329, allocations: 365 kB / 0.5984 GB, free: 83.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/1.341, allocations: 4.566 MB / 0.6029 GB, free: 81.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/1.341, allocations: 7.094 kB / 0.6029 GB, free: 81.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007246/1.342, allocations: 153.9 kB / 0.603 GB, free: 81.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/1.342, allocations: 151.6 kB / 0.6032 GB, free: 81.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/1.352, allocations: 3.642 MB / 0.6067 GB, free: 79.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03269/1.385, allocations: 15.79 MB / 0.6221 GB, free: 65.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006448/1.392, allocations: 6.905 MB / 0.6289 GB, free: 57.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00309/1.395, allocations: 1.474 MB / 0.6303 GB, free: 56.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009034/1.404, allocations: 4.035 MB / 0.6343 GB, free: 52.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.404, allocations: 47.88 kB / 0.6343 GB, free: 52.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 4.894e-06/1.404, allocations: 0 / 0.6343 GB, free: 52.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.01216/1.416, allocations: 5.069 MB / 0.6393 GB, free: 46.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.416, allocations: 68.72 kB / 0.6393 GB, free: 46.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/1.42, allocations: 1.877 MB / 0.6412 GB, free: 44.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/1.42, allocations: 53.64 kB / 0.6412 GB, free: 44.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/1.421, allocations: 1.734 MB / 0.6429 GB, free: 43.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/1.422, allocations: 0.5376 MB / 0.6434 GB, free: 42.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/1.422, allocations: 44 kB / 0.6435 GB, free: 42.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/1.422, allocations: 390.5 kB / 0.6438 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/1.424, allocations: 0.7502 MB / 0.6446 GB, free: 41.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/1.426, allocations: 1.473 MB / 0.646 GB, free: 39.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/1.428, allocations: 1.052 MB / 0.647 GB, free: 38.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/1.428, allocations: 8 kB / 0.647 GB, free: 38.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.00604/1.434, allocations: 2.791 MB / 0.6498 GB, free: 35.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/1.434, allocations: 16 kB / 0.6498 GB, free: 35.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/1.434, allocations: 24.38 kB / 0.6498 GB, free: 35.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.435, allocations: 302.3 kB / 0.6501 GB, free: 35.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/1.437, allocations: 0.4914 MB / 0.6506 GB, free: 34.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005178/1.443, allocations: 4.457 MB / 0.6549 GB, free: 30.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/1.445, allocations: 99.97 kB / 0.655 GB, free: 30.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/1.445, allocations: 104 kB / 0.6551 GB, free: 29.95 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.0004404/1.446, allocations: 244.3 kB / 0.6554 GB, free: 29.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/1.446, allocations: 237.2 kB / 0.6556 GB, free: 29.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/1.451, allocations: 2.271 MB / 0.6578 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/1.451, allocations: 16 kB / 0.6578 GB, free: 27.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.451, allocations: 11.94 kB / 0.6578 GB, free: 27.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/1.451, allocations: 7.969 kB / 0.6578 GB, free: 27.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/1.462, allocations: 5.504 MB / 0.6632 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/1.463, allocations: 7.984 kB / 0.6632 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.464, allocations: 271.9 kB / 0.6635 GB, free: 21.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/1.465, allocations: 330.2 kB / 0.6638 GB, free: 20.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/1.465, allocations: 32 kB / 0.6638 GB, free: 20.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006957/1.472, allocations: 6.347 MB / 0.67 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/1.472, allocations: 7.969 kB / 0.67 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006162/1.479, allocations: 3.428 MB / 0.6734 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.48, allocations: 490.2 kB / 0.6738 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005312/1.481, allocations: 28 kB / 0.6739 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.482, allocations: 75.95 kB / 0.6739 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/1.483, allocations: 121 kB / 0.6741 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.483, allocations: 43.98 kB / 0.6741 GB, free: 9.789 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002845/1.486, allocations: 1.411 MB / 0.6755 GB, free: 8.355 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.078e-06/1.486, allocations: 0 / 0.6755 GB, free: 8.355 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003592/1.489, allocations: 0.6991 MB / 0.6762 GB, free: 7.656 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.000784/1.49, allocations: 450 kB / 0.6766 GB, free: 7.242 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004352/1.494, allocations: 2.256 MB / 0.6788 GB, free: 4.953 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.088e-06/1.494, allocations: 4 kB / 0.6788 GB, free: 4.949 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002671/1.497, allocations: 1.323 MB / 0.6801 GB, free: 3.594 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.5, allocations: 0.5332 MB / 0.6806 GB, free: 3.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2911/1.792, allocations: 5.193 MB / 0.6857 GB, free: 92.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003724/1.795, allocations: 2.585 MB / 0.6882 GB, free: 91.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003022/1.798, allocations: 0.509 MB / 0.6887 GB, free: 91.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/1.799, allocations: 156 kB / 0.6889 GB, free: 91.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.771e-06/1.799, allocations: 0 / 0.6889 GB, free: 91.26 MB / 442.7 MB Notification: Performance of Templates: time 0.08422/1.883, allocations: 32.43 MB / 0.7205 GB, free: 89.79 MB / 442.7 MB