Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.535e-05, allocations: 4.844 kB / 390 MB, free: 100.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09336/0.09341, allocations: 44.53 MB / 434.6 MB, free: 65.13 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.457, allocations: 129.6 MB / 0.551 GB, free: 2.941 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4573, allocations: 85.39 kB / 0.551 GB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.669/1.126, allocations: 128.8 MB / 0.6768 GB, free: 62.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/1.126, allocations: 0 / 0.6768 GB, free: 62.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004684/1.127, allocations: 141.4 kB / 0.677 GB, free: 62.61 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01779/1.145, allocations: 5.455 MB / 0.6823 GB, free: 60.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.145, allocations: 9.344 kB / 0.6823 GB, free: 60.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007922/1.153, allocations: 1.155 MB / 0.6834 GB, free: 60.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02027/1.173, allocations: 4.871 MB / 0.6882 GB, free: 59.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/1.173, allocations: 242.9 kB / 0.6884 GB, free: 59.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/1.175, allocations: 340.6 kB / 0.6887 GB, free: 59.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0135/1.188, allocations: 5.223 MB / 0.6938 GB, free: 59.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/1.208, allocations: 6.188 MB / 0.6999 GB, free: 58.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002386/1.208, allocations: 14.28 kB / 0.6999 GB, free: 58.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007867/1.209, allocations: 6.531 kB / 0.6999 GB, free: 58.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/1.209, allocations: 247.8 kB / 0.7001 GB, free: 58.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04761/1.257, allocations: 22.74 MB / 0.7223 GB, free: 47.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008331/1.265, allocations: 8.495 MB / 0.7306 GB, free: 40.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004294/1.269, allocations: 2.131 MB / 0.7327 GB, free: 39.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/1.285, allocations: 6.747 MB / 0.7393 GB, free: 35.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.285, allocations: 64 kB / 0.7394 GB, free: 35.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 6.272e-06/1.285, allocations: 0 / 0.7394 GB, free: 35.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=289): time 0.03583/1.321, allocations: 10.26 MB / 0.7494 GB, free: 27.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/1.321, allocations: 81.66 kB / 0.7495 GB, free: 27.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00765/1.329, allocations: 2.373 MB / 0.7518 GB, free: 25.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005951/1.329, allocations: 25.7 kB / 0.7518 GB, free: 25.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002749/1.332, allocations: 2.675 MB / 0.7544 GB, free: 23.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00155/1.334, allocations: 0.9467 MB / 0.7553 GB, free: 22.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004209/1.334, allocations: 4 kB / 0.7553 GB, free: 22.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003547/1.334, allocations: 449.5 kB / 0.7558 GB, free: 22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004665/1.339, allocations: 1.405 MB / 0.7571 GB, free: 20.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005876/1.345, allocations: 2.558 MB / 0.7596 GB, free: 17.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007678/1.353, allocations: 2.024 MB / 0.7616 GB, free: 16.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.211e-05/1.353, allocations: 12 kB / 0.7616 GB, free: 16.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=475) (initialization): time 0.02041/1.373, allocations: 5.12 MB / 0.7666 GB, free: 11.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/1.373, allocations: 20 kB / 0.7667 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/1.374, allocations: 40 kB / 0.7667 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0046/1.378, allocations: 0.8597 MB / 0.7675 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007428/1.386, allocations: 0.8615 MB / 0.7684 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/1.408, allocations: 9.367 MB / 0.7775 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006765/1.415, allocations: 155.8 kB / 0.7777 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.416, allocations: 175.9 kB / 0.7778 GB, free: 0.793 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (422): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001321/1.417, allocations: 207.6 kB / 0.778 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001784/1.419, allocations: 357.7 kB / 0.7784 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/1.439, allocations: 4.444 MB / 0.7827 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.619e-05/1.439, allocations: 28 kB / 0.7827 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.737e-05/1.439, allocations: 11.75 kB / 0.7828 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.533e-05/1.44, allocations: 14.42 kB / 0.7828 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03796/1.478, allocations: 9.126 MB / 0.7917 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01644/1.494, allocations: 3.792 MB / 0.7954 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006113/1.5, allocations: 0.4993 MB / 0.7959 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1694/1.67, allocations: 0.9548 MB / 0.7968 GB, free: 71.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006865/1.67, allocations: 34.39 kB / 0.7968 GB, free: 71.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03058/1.701, allocations: 14.19 MB / 0.8107 GB, free: 63.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/1.701, allocations: 16.27 kB / 0.8107 GB, free: 63.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1391/1.84, allocations: 42.48 MB / 0.8522 GB, free: 50.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003123/1.843, allocations: 0.7298 MB / 0.8529 GB, free: 50.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.845, allocations: 17.92 kB / 0.8529 GB, free: 50.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003678/1.848, allocations: 142.7 kB / 0.8531 GB, free: 50.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007094/1.849, allocations: 218.6 kB / 0.8533 GB, free: 49.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004198/1.849, allocations: 83.05 kB / 0.8533 GB, free: 49.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.006263/1.856, allocations: 1.739 MB / 0.855 GB, free: 49.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.725e-06/1.856, allocations: 0 / 0.855 GB, free: 49.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01322/1.869, allocations: 1.368 MB / 0.8564 GB, free: 49.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(6,75.0%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001696/1.871, allocations: 479.8 kB / 0.8568 GB, free: 49.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01047/1.881, allocations: 4.447 MB / 0.8612 GB, free: 47.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.689e-06/1.881, allocations: 0 / 0.8612 GB, free: 47.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005941/1.887, allocations: 2.874 MB / 0.864 GB, free: 45.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/1.892, allocations: 0.6055 MB / 0.8646 GB, free: 45.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03439/1.926, allocations: 11 MB / 0.8753 GB, free: 40.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009819/1.936, allocations: 3.706 MB / 0.8789 GB, free: 38.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.007521/1.943, allocations: 0.821 MB / 0.8797 GB, free: 38.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/1.946, allocations: 235.6 kB / 0.88 GB, free: 38.83 MB / 414.1 MB Notification: Performance of SimCode: time 1.813e-06/1.946, allocations: 0 / 0.88 GB, free: 38.83 MB / 414.1 MB Notification: Performance of Templates: time 0.1772/2.123, allocations: 51.52 MB / 0.9303 GB, free: 13.34 MB / 414.1 MB