Notification: Performance of FrontEnd - loaded program: time 1.967e-05/2.016e-05, allocations: 3.938 kB / 424.1 MB, free: 53.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06582/0.06586, allocations: 44.52 MB / 468.6 MB, free: 21.54 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3705/0.4364, allocations: 160.5 MB / 0.6144 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.4367, allocations: 100 kB / 0.6145 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.875/2.311, allocations: 390.3 MB / 0.9956 GB, free: 23.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.796e-06/2.311, allocations: 0 / 0.9956 GB, free: 23.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007885/2.312, allocations: 261.3 kB / 0.9958 GB, free: 23.96 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.04537/2.358, allocations: 10.33 MB / 1.006 GB, free: 20.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/2.358, allocations: 14.88 kB / 1.006 GB, free: 20.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04733/2.405, allocations: 4.377 MB / 1.01 GB, free: 19.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03886/2.444, allocations: 8.838 MB / 1.019 GB, free: 18.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001278/2.445, allocations: 485.2 kB / 1.019 GB, free: 18.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005816/2.451, allocations: 0.6426 MB / 1.02 GB, free: 18.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04305/2.494, allocations: 13.25 MB / 1.033 GB, free: 18.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04876/2.543, allocations: 15.52 MB / 1.048 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004384/2.543, allocations: 16.94 kB / 1.048 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003026/2.547, allocations: 7.062 kB / 1.048 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008127/2.547, allocations: 0.7046 MB / 1.049 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1837/2.731, allocations: 56.61 MB / 1.104 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.249/2.98, allocations: 17.67 MB / 1.121 GB, free: 43.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02398/3.004, allocations: 6.283 MB / 1.127 GB, free: 43.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07286/3.077, allocations: 19.16 MB / 1.146 GB, free: 41.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/3.077, allocations: 95.28 kB / 1.146 GB, free: 41.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=624): time 2.156e-05/3.077, allocations: 0 / 1.146 GB, free: 41.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=657): time 0.07899/3.156, allocations: 25.27 MB / 1.171 GB, free: 38.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/3.156, allocations: 134.5 kB / 1.171 GB, free: 38.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007236/3.164, allocations: 3.353 MB / 1.174 GB, free: 38.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001289/3.165, allocations: 25.7 kB / 1.174 GB, free: 37.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003048/3.168, allocations: 4.619 MB / 1.179 GB, free: 35.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002846/3.171, allocations: 2.116 MB / 1.181 GB, free: 34.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007316/3.172, allocations: 6.922 kB / 1.181 GB, free: 34.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005595/3.172, allocations: 0.6138 MB / 1.182 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008254/3.181, allocations: 4.355 MB / 1.186 GB, free: 33.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/3.191, allocations: 6.339 MB / 1.192 GB, free: 30.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/3.207, allocations: 6.451 MB / 1.198 GB, free: 28.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.882e-05/3.207, allocations: 21.7 kB / 1.198 GB, free: 28.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=995) (initialization): time 0.04226/3.25, allocations: 13.6 MB / 1.212 GB, free: 23.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/3.25, allocations: 29.38 kB / 1.212 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/3.25, allocations: 62.91 kB / 1.212 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007805/3.258, allocations: 2.382 MB / 1.214 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0121/3.27, allocations: 1.553 MB / 1.215 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/3.287, allocations: 10.38 MB / 1.226 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/3.299, allocations: 439.3 kB / 1.226 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00248/3.302, allocations: 347.7 kB / 1.226 GB, free: 14.91 MB / 446.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: smeeQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smeeQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smeeQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smeeQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smeeQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smeeQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (790): * Single equations (assignments): 721 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 60 * 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: 2 {(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 4 {6 9,6 9,6 9,6 43} Notification: Performance of prepare postOptimizeDAE: time 0.003393/3.305, allocations: 375.8 kB / 1.227 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002378/3.307, allocations: 0.5171 MB / 1.227 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05463/3.362, allocations: 12.17 MB / 1.239 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03709/3.399, allocations: 11 MB / 1.25 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.834e-05/3.399, allocations: 4 kB / 1.25 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001499/3.4, allocations: 32.16 kB / 1.25 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3245/3.724, allocations: 30.51 MB / 1.28 GB, free: 60.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.185e-05/3.724, allocations: 7 kB / 1.28 GB, free: 60.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01012/3.734, allocations: 0.916 MB / 1.281 GB, free: 60.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01384/3.748, allocations: 2.623 MB / 1.283 GB, free: 60.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001782/3.75, allocations: 82.05 kB / 1.283 GB, free: 60.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03612/3.786, allocations: 15.8 MB / 1.299 GB, free: 53.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006762/3.793, allocations: 2.738 MB / 1.301 GB, free: 51.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1552/3.948, allocations: 48.4 MB / 1.349 GB, free: 43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007655/3.956, allocations: 1.569 MB / 1.35 GB, free: 42.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002908/3.959, allocations: 10.34 kB / 1.35 GB, free: 42.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009326/3.968, allocations: 290.5 kB / 1.35 GB, free: 42.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003096/3.971, allocations: 0.5019 MB / 1.351 GB, free: 42.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00153/3.973, allocations: 184.2 kB / 1.351 GB, free: 42.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008713/3.982, allocations: 2.419 MB / 1.353 GB, free: 42.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.599e-06/3.982, allocations: 0 / 1.353 GB, free: 42.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.02078/4.003, allocations: 2.227 MB / 1.356 GB, free: 42.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smeeQS.gamma,smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],smee.stator.zeroInductor.i0) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (459): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 43,5 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002818/4.005, allocations: 0.4998 MB / 1.356 GB, free: 42.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.03558/4.041, allocations: 10.77 MB / 1.367 GB, free: 38.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/4.041, allocations: 3.812 kB / 1.367 GB, free: 38.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02108/4.062, allocations: 5.856 MB / 1.372 GB, free: 35.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01081/4.073, allocations: 0.837 MB / 1.373 GB, free: 35.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06787/4.141, allocations: 24.18 MB / 1.397 GB, free: 24.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02076/4.162, allocations: 7.168 MB / 1.404 GB, free: 22.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.01333/4.175, allocations: 1.698 MB / 1.405 GB, free: 22.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003396/4.179, allocations: 393.7 kB / 1.406 GB, free: 22.02 MB / 462.1 MB Notification: Performance of SimCode: time 2.036e-06/4.179, allocations: 0 / 1.406 GB, free: 22.02 MB / 462.1 MB Notification: Performance of Templates: time 0.5367/4.715, allocations: 98.97 MB / 1.502 GB, free: 53.9 MB / 462.1 MB