Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.232e-05, allocations: 3.984 kB / 409.6 MB, free: 89.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08257/0.08262, allocations: 44.53 MB / 454.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.4928, allocations: 147 MB / 0.5871 GB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004966/0.4933, allocations: 103.5 kB / 0.5872 GB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.18/2.674, allocations: 462.9 MB / 1.039 GB, free: 25.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.317e-06/2.674, allocations: 0 / 1.039 GB, free: 25.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000998/2.675, allocations: 327.4 kB / 1.04 GB, free: 25.07 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: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.05661/2.731, allocations: 13.63 MB / 1.053 GB, free: 20.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/2.732, allocations: 7.219 kB / 1.053 GB, free: 20.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08732/2.819, allocations: 6.709 MB / 1.059 GB, free: 20.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05346/2.872, allocations: 11.45 MB / 1.071 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001809/2.874, allocations: 0.6019 MB / 1.071 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007935/2.882, allocations: 0.7959 MB / 1.072 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08785/2.97, allocations: 19.71 MB / 1.091 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.262/3.232, allocations: 21.58 MB / 1.112 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006166/3.233, allocations: 25.75 kB / 1.112 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004527/3.237, allocations: 12.12 kB / 1.112 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/3.239, allocations: 0.9324 MB / 1.113 GB, free: 36.01 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1792/3.418, allocations: 75.94 MB / 1.187 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03813/3.456, allocations: 29.98 MB / 1.217 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02175/3.478, allocations: 10.56 MB / 1.227 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09328/3.571, allocations: 33.97 MB / 1.26 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/3.571, allocations: 129.5 kB / 1.26 GB, free: 4.562 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1011): time 1.886e-05/3.571, allocations: 0 / 1.26 GB, free: 4.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=1019): time 0.3214/3.893, allocations: 41.08 MB / 1.3 GB, free: 70.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/3.893, allocations: 166.1 kB / 1.301 GB, free: 70.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007906/3.901, allocations: 3.627 MB / 1.304 GB, free: 70.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002022/3.903, allocations: 28.48 kB / 1.304 GB, free: 70.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003562/3.906, allocations: 5.203 MB / 1.309 GB, free: 67.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004593/3.911, allocations: 3.224 MB / 1.312 GB, free: 65.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/3.912, allocations: 0 / 1.312 GB, free: 65.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000877/3.913, allocations: 0.7013 MB / 1.313 GB, free: 65.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01405/3.927, allocations: 6.705 MB / 1.32 GB, free: 65.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01906/3.946, allocations: 8.37 MB / 1.328 GB, free: 63.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02549/3.972, allocations: 9.347 MB / 1.337 GB, free: 61.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.191e-05/3.972, allocations: 10.56 kB / 1.337 GB, free: 61.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.05448/4.026, allocations: 21.89 MB / 1.358 GB, free: 52.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/4.027, allocations: 25.53 kB / 1.358 GB, free: 52.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/4.027, allocations: 46.08 kB / 1.358 GB, free: 52.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02538/4.052, allocations: 8.303 MB / 1.366 GB, free: 50.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/4.063, allocations: 1.443 MB / 1.368 GB, free: 50.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04825/4.111, allocations: 28.04 MB / 1.395 GB, free: 27.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009859/4.121, allocations: 304.7 kB / 1.396 GB, free: 27.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002577/4.124, allocations: 377.2 kB / 1.396 GB, free: 26.78 MB / 462.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switchYDQS.star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[2].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[1].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[2].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[2].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (727): * Single equations (assignments): 698 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.004838/4.128, allocations: 461.3 kB / 1.396 GB, free: 26.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002965/4.131, allocations: 0.6642 MB / 1.397 GB, free: 25.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08571/4.217, allocations: 21.8 MB / 1.418 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004784/4.218, allocations: 255.6 kB / 1.419 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.392e-05/4.218, allocations: 12 kB / 1.419 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002274/4.218, allocations: 51.16 kB / 1.419 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.349/4.567, allocations: 39.88 MB / 1.458 GB, free: 84.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001247/4.567, allocations: 4 kB / 1.458 GB, free: 84.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01004/4.577, allocations: 1.021 MB / 1.459 GB, free: 84.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02784/4.605, allocations: 8.414 MB / 1.467 GB, free: 84.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002348/4.608, allocations: 105.7 kB / 1.467 GB, free: 84.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05185/4.66, allocations: 32.16 MB / 1.498 GB, free: 74.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.742e-06/4.66, allocations: 5.281 kB / 1.498 GB, free: 74.1 MB / 478.1 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5073/5.167, allocations: 132.3 MB / 1.628 GB, free: 62.4 MB / 478.1 MB Error: post-optimization module symbolicJacobian (simulation) failed.