Notification: Performance of FrontEnd - loaded program: time 1.988e-05/2.001e-05, allocations: 4 kB / 374.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1676, allocations: 44.52 MB / 418.9 MB, free: 81.38 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3037/0.4714, allocations: 114.3 MB / 0.5207 GB, free: 22.48 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4717, allocations: 93.86 kB / 0.5208 GB, free: 22.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3717/0.8434, allocations: 100.2 MB / 0.6187 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.041e-06/0.8434, allocations: 0 / 0.6187 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000402/0.8439, allocations: 95.94 kB / 0.6188 GB, free: 1.598 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1063 * Number of variables: 1063 Notification: Performance of Generate backend data structure: time 0.01468/0.8585, allocations: 4.227 MB / 0.6229 GB, free: 13.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.8586, allocations: 12.03 kB / 0.6229 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007134/0.8658, allocations: 0.9506 MB / 0.6238 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/0.8791, allocations: 3.91 MB / 0.6276 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005091/0.8797, allocations: 346.4 kB / 0.628 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001492/0.8812, allocations: 243.9 kB / 0.6282 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01432/0.8955, allocations: 3.91 MB / 0.632 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.183/1.079, allocations: 4.558 MB / 0.6365 GB, free: 61.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/1.079, allocations: 6.094 kB / 0.6365 GB, free: 61.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004913/1.079, allocations: 8.156 kB / 0.6365 GB, free: 61.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/1.079, allocations: 166.4 kB / 0.6367 GB, free: 61.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04051/1.12, allocations: 16.93 MB / 0.6532 GB, free: 58.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009904/1.13, allocations: 8.001 MB / 0.661 GB, free: 52.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004124/1.134, allocations: 1.728 MB / 0.6627 GB, free: 52.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/1.146, allocations: 5.233 MB / 0.6678 GB, free: 51.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/1.148, allocations: 1.124 MB / 0.6689 GB, free: 51.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=173): time 5.532e-06/1.148, allocations: 0 / 0.6689 GB, free: 51.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=205): time 0.01939/1.167, allocations: 7.05 MB / 0.6758 GB, free: 50.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/1.167, allocations: 340 kB / 0.6761 GB, free: 49.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003398/1.171, allocations: 1.773 MB / 0.6778 GB, free: 49.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003043/1.171, allocations: 33.52 kB / 0.6779 GB, free: 49.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/1.173, allocations: 1.918 MB / 0.6797 GB, free: 48.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006292/1.173, allocations: 0.6618 MB / 0.6804 GB, free: 48.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/1.173, allocations: 3.938 kB / 0.6804 GB, free: 48.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/1.174, allocations: 402.2 kB / 0.6808 GB, free: 48.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/1.176, allocations: 0.9745 MB / 0.6817 GB, free: 48.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/1.178, allocations: 1.704 MB / 0.6834 GB, free: 47.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/1.181, allocations: 1.402 MB / 0.6848 GB, free: 47.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/1.181, allocations: 10.03 kB / 0.6848 GB, free: 47.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.008339/1.19, allocations: 3.707 MB / 0.6884 GB, free: 46.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001551/1.191, allocations: 8.18 MB / 0.6964 GB, free: 37.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.585e-05/1.191, allocations: 21 kB / 0.6964 GB, free: 37.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00338/1.195, allocations: 1.004 MB / 0.6974 GB, free: 37.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/1.197, allocations: 470.9 kB / 0.6978 GB, free: 37.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/1.213, allocations: 13.64 MB / 0.7111 GB, free: 27.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/1.217, allocations: 112.1 kB / 0.7112 GB, free: 27.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/1.217, allocations: 110.3 kB / 0.7114 GB, free: 27.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.217, allocations: 7.031 kB / 0.7114 GB, free: 27.23 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007574/1.224, allocations: 3.411 MB / 0.7147 GB, free: 26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/1.224, allocations: 23.75 kB / 0.7147 GB, free: 26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003032/1.228, allocations: 1 MB / 0.7157 GB, free: 25.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/1.23, allocations: 465.3 kB / 0.7161 GB, free: 25.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/1.247, allocations: 13.64 MB / 0.7295 GB, free: 31.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/1.25, allocations: 106.4 kB / 0.7296 GB, free: 31.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/1.25, allocations: 109.3 kB / 0.7297 GB, free: 31.2 MB / 414.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[3]:VARIABLE(unit = "V" ) "Voltage drops between the two plugs" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[1]:VARIABLE(unit = "V" ) "Voltage drops between the two plugs" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[2]:VARIABLE(unit = "V" ) "Voltage drops between the two plugs" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * 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: 6 * 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: 3 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006883/1.251, allocations: 196.2 kB / 0.7298 GB, free: 31.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/1.251, allocations: 251.8 kB / 0.7301 GB, free: 30.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007787/1.259, allocations: 3.126 MB / 0.7331 GB, free: 29.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/1.259, allocations: 17.97 kB / 0.7332 GB, free: 29.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.319e-06/1.259, allocations: 3.75 kB / 0.7332 GB, free: 29.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/1.259, allocations: 11.28 kB / 0.7332 GB, free: 29.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/1.272, allocations: 6.351 MB / 0.7394 GB, free: 27.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.272, allocations: 3.953 kB / 0.7394 GB, free: 27.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.274, allocations: 271.7 kB / 0.7396 GB, free: 27.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/1.277, allocations: 1.02 MB / 0.7406 GB, free: 26.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/1.278, allocations: 25.5 kB / 0.7407 GB, free: 26.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/1.294, allocations: 11.16 MB / 0.7516 GB, free: 18.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.429e-06/1.294, allocations: 0 / 0.7516 GB, free: 18.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09317/1.387, allocations: 30.42 MB / 0.7813 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/1.389, allocations: 0.5537 MB / 0.7818 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005275/1.389, allocations: 31.59 kB / 0.7818 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/1.391, allocations: 90.88 kB / 0.7819 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006168/1.391, allocations: 239 kB / 0.7821 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/1.392, allocations: 59.22 kB / 0.7822 GB, free: 12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002757/1.394, allocations: 1.323 MB / 0.7835 GB, free: 10.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.49e-07/1.394, allocations: 3.75 kB / 0.7835 GB, free: 10.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.009075/1.404, allocations: 1.84 MB / 0.7853 GB, free: 8.961 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 54,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007955/1.404, allocations: 413.9 kB / 0.7857 GB, free: 8.629 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01236/1.417, allocations: 6.063 MB / 0.7916 GB, free: 2.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.941e-06/1.417, allocations: 384 / 0.7916 GB, free: 2.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004234/1.421, allocations: 2.015 MB / 0.7936 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/1.424, allocations: 473.1 kB / 0.794 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2306/1.655, allocations: 8.22 MB / 0.8021 GB, free: 83.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006171/1.661, allocations: 2.968 MB / 0.805 GB, free: 82.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.007107/1.668, allocations: 0.9872 MB / 0.8059 GB, free: 82.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008426/1.669, allocations: 135.7 kB / 0.806 GB, free: 82.21 MB / 430.1 MB Notification: Performance of SimCode: time 1.564e-06/1.669, allocations: 0 / 0.806 GB, free: 82.21 MB / 430.1 MB Notification: Performance of Templates: time 0.1257/1.795, allocations: 52 MB / 0.8568 GB, free: 79.55 MB / 430.1 MB