Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.565e-05, allocations: 4.594 kB / 376.4 MB, free: 118 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07856/0.07861, allocations: 44.53 MB / 421 MB, free: 80.42 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3005/0.3792, allocations: 116.2 MB / 0.5246 GB, free: 20.28 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.3796, allocations: 87.84 kB / 0.5247 GB, free: 20.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8728/1.252, allocations: 190.4 MB / 0.7106 GB, free: 50.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.179e-06/1.252, allocations: 0 / 0.7106 GB, free: 50.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007443/1.253, allocations: 206.1 kB / 0.7108 GB, free: 50.66 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: 2286 * Number of variables: 2286 Notification: Performance of Generate backend data structure: time 0.02675/1.28, allocations: 7.956 MB / 0.7186 GB, free: 47.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/1.28, allocations: 10.75 kB / 0.7186 GB, free: 47.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/1.294, allocations: 1.898 MB / 0.7205 GB, free: 46.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02136/1.315, allocations: 7.045 MB / 0.7273 GB, free: 43.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005334/1.316, allocations: 369 kB / 0.7277 GB, free: 43.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002732/1.318, allocations: 0.5042 MB / 0.7282 GB, free: 43.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0298/1.348, allocations: 8.194 MB / 0.7362 GB, free: 38.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04212/1.39, allocations: 9.627 MB / 0.7456 GB, free: 30.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002455/1.391, allocations: 27.44 kB / 0.7456 GB, free: 30.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/1.392, allocations: 4 kB / 0.7456 GB, free: 30.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003255/1.392, allocations: 371.1 kB / 0.746 GB, free: 30.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06851/1.461, allocations: 34.33 MB / 0.7795 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2045/1.665, allocations: 16.56 MB / 0.7957 GB, free: 46.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00774/1.673, allocations: 3.222 MB / 0.7988 GB, free: 46.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02102/1.694, allocations: 9.235 MB / 0.8078 GB, free: 44.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/1.694, allocations: 69.34 kB / 0.8079 GB, free: 44.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=295): time 7.305e-06/1.694, allocations: 3.062 kB / 0.8079 GB, free: 44.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=347): time 0.03367/1.728, allocations: 12.09 MB / 0.8197 GB, free: 43.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.728, allocations: 89.89 kB / 0.8198 GB, free: 43.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005936/1.734, allocations: 3.141 MB / 0.8229 GB, free: 42.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005079/1.734, allocations: 25.7 kB / 0.8229 GB, free: 42.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002559/1.737, allocations: 3.896 MB / 0.8267 GB, free: 40.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/1.738, allocations: 1.135 MB / 0.8278 GB, free: 40.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/1.738, allocations: 0 / 0.8278 GB, free: 40.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002656/1.739, allocations: 486.2 kB / 0.8283 GB, free: 39.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004392/1.743, allocations: 1.626 MB / 0.8299 GB, free: 39.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006195/1.749, allocations: 3.043 MB / 0.8328 GB, free: 38.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006127/1.755, allocations: 2.531 MB / 0.8353 GB, free: 38.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.031e-05/1.756, allocations: 17.78 kB / 0.8353 GB, free: 38.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01445/1.77, allocations: 5.928 MB / 0.8411 GB, free: 37.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/1.77, allocations: 33.42 kB / 0.8411 GB, free: 37.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.837e-05/1.77, allocations: 48.28 kB / 0.8412 GB, free: 37.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/1.773, allocations: 0.704 MB / 0.8419 GB, free: 37.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005126/1.778, allocations: 1.047 MB / 0.8429 GB, free: 37.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/1.79, allocations: 9.66 MB / 0.8523 GB, free: 30.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004988/1.795, allocations: 165.1 kB / 0.8525 GB, free: 30.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006932/1.795, allocations: 202.1 kB / 0.8527 GB, free: 30.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (520): * Single equations (assignments): 512 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008111/1.796, allocations: 239.8 kB / 0.8529 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000969/1.797, allocations: 440.4 kB / 0.8533 GB, free: 30.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.808, allocations: 5.013 MB / 0.8582 GB, free: 28.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/1.808, allocations: 34.27 kB / 0.8583 GB, free: 28.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.808, allocations: 12.5 kB / 0.8583 GB, free: 28.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.935e-05/1.808, allocations: 16.11 kB / 0.8583 GB, free: 28.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02676/1.835, allocations: 11.23 MB / 0.8693 GB, free: 23.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.303e-05/1.835, allocations: 11.14 kB / 0.8693 GB, free: 23.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005678/1.841, allocations: 0.5998 MB / 0.8698 GB, free: 23.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003542/1.844, allocations: 0.8781 MB / 0.8707 GB, free: 23.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004572/1.845, allocations: 38.58 kB / 0.8707 GB, free: 23.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/1.862, allocations: 13.45 MB / 0.8839 GB, free: 28.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/1.862, allocations: 5.781 kB / 0.8839 GB, free: 28.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0923/1.955, allocations: 44.93 MB / 0.9278 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/1.958, allocations: 0.8918 MB / 0.9286 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007433/1.958, allocations: 27.78 kB / 0.9286 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/1.961, allocations: 150.9 kB / 0.9288 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007066/1.962, allocations: 271.3 kB / 0.9291 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000348/1.962, allocations: 101.5 kB / 0.9291 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005138/1.967, allocations: 2.319 MB / 0.9314 GB, free: 10.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.4e-07/1.967, allocations: 4 kB / 0.9314 GB, free: 10.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01492/1.982, allocations: 1.732 MB / 0.9331 GB, free: 8.859 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 13,(4,93.8%) 33,(2,100.0%) 13,(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.001772/1.984, allocations: 0.4967 MB / 0.9336 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/1.995, allocations: 4.978 MB / 0.9385 GB, free: 3.695 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/1.995, allocations: 0 / 0.9385 GB, free: 3.695 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006572/2.001, allocations: 3.106 MB / 0.9415 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005107/2.006, allocations: 0.7627 MB / 0.9422 GB, free: 180 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03865/2.045, allocations: 14.82 MB / 0.9567 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2057/2.251, allocations: 5.809 MB / 0.9624 GB, free: 94.51 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.009786/2.261, allocations: 1.008 MB / 0.9634 GB, free: 94.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0026/2.263, allocations: 297.8 kB / 0.9637 GB, free: 94.47 MB / 462.1 MB Notification: Performance of SimCode: time 1.874e-06/2.263, allocations: 0 / 0.9637 GB, free: 94.47 MB / 462.1 MB Notification: Performance of Templates: time 0.1823/2.446, allocations: 60.78 MB / 1.023 GB, free: 90.97 MB / 462.1 MB