Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.6e-05, allocations: 0 / 419.1 MB, free: 80.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06665/0.06671, allocations: 44.52 MB / 463.6 MB, free: 36.22 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4696/0.5363, allocations: 156.3 MB / 0.6054 GB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004081/0.5368, allocations: 101.1 kB / 0.6055 GB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.243/3.779, allocations: 0.5671 GB / 1.173 GB, free: 20.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.85e-06/3.779, allocations: 4 kB / 1.173 GB, free: 20.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001772/3.781, allocations: 416.2 kB / 1.173 GB, free: 20.43 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.08608/3.867, allocations: 17.06 MB / 1.19 GB, free: 15.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/3.867, allocations: 10.31 kB / 1.19 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06785/3.935, allocations: 8.455 MB / 1.198 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05173/3.987, allocations: 14.55 MB / 1.212 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001622/3.989, allocations: 0.7684 MB / 1.213 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008361/3.997, allocations: 1.032 MB / 1.214 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07357/4.071, allocations: 24.18 MB / 1.237 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.117/4.188, allocations: 28.07 MB / 1.265 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008012/4.189, allocations: 23.42 kB / 1.265 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006909/4.196, allocations: 13.97 kB / 1.265 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001918/4.197, allocations: 1.191 MB / 1.266 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5238/4.721, allocations: 96.02 MB / 1.36 GB, free: 36.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04709/4.768, allocations: 34.48 MB / 1.394 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02873/4.797, allocations: 12.71 MB / 1.406 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1397/4.937, allocations: 40.02 MB / 1.445 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/4.937, allocations: 152.7 kB / 1.445 GB, free: 10.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1269): time 3.806e-05/4.937, allocations: 0 / 1.445 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=1277): time 0.4548/5.392, allocations: 50.18 MB / 1.494 GB, free: 80.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/5.392, allocations: 191.3 kB / 1.494 GB, free: 79.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01851/5.411, allocations: 4.186 MB / 1.498 GB, free: 79.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002962/5.414, allocations: 28.42 kB / 1.498 GB, free: 79.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00594/5.42, allocations: 6.661 MB / 1.505 GB, free: 76.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.007533/5.428, allocations: 4.035 MB / 1.509 GB, free: 73.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003216/5.431, allocations: 3.875 kB / 1.509 GB, free: 73.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.001836/5.433, allocations: 0.8046 MB / 1.51 GB, free: 73.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04273/5.475, allocations: 8.238 MB / 1.518 GB, free: 73.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03951/5.515, allocations: 10.33 MB / 1.528 GB, free: 71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04044/5.555, allocations: 11.57 MB / 1.539 GB, free: 67.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001912/5.556, allocations: 13.5 kB / 1.539 GB, free: 67.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=1564) (initialization): time 0.07882/5.635, allocations: 26.17 MB / 1.565 GB, free: 57.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.277e-05/5.635, allocations: 33.33 kB / 1.565 GB, free: 57.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/5.635, allocations: 55.59 kB / 1.565 GB, free: 57.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03123/5.666, allocations: 8.818 MB / 1.573 GB, free: 54.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01572/5.682, allocations: 1.942 MB / 1.575 GB, free: 54.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06119/5.743, allocations: 30.65 MB / 1.605 GB, free: 26.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01812/5.761, allocations: 423.2 kB / 1.606 GB, free: 25.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00343/5.765, allocations: 470.3 kB / 1.606 GB, free: 25.45 MB / 494.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imsQS.rotor.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] idealCloserQS.idealClosingSwitch[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] powerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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] idealCloserQS.idealClosingSwitch[2].s.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] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] powerSensorQS.powerSensor[3].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[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real 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[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real 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] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: rheostatQS.star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.star.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: rheostatQS.starRheostat.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.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: 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[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] 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[1].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.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[3].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[1].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: 248 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (982): * Single equations (assignments): 918 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of prepare postOptimizeDAE: time 0.005772/5.771, allocations: 0.5319 MB / 1.607 GB, free: 25.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00426/5.775, allocations: 0.8093 MB / 1.607 GB, free: 24.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3055/6.08, allocations: 26.84 MB / 1.634 GB, free: 72.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0562/6.137, allocations: 21.4 MB / 1.654 GB, free: 72.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.725e-05/6.137, allocations: 12.97 kB / 1.655 GB, free: 72.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000292/6.137, allocations: 56.5 kB / 1.655 GB, free: 72.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1451/6.282, allocations: 47.43 MB / 1.701 GB, free: 68.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002015/6.282, allocations: 6.906 kB / 1.701 GB, free: 68.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01359/6.296, allocations: 1.418 MB / 1.702 GB, free: 68.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03653/6.333, allocations: 8.947 MB / 1.711 GB, free: 65.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003733/6.336, allocations: 132.6 kB / 1.711 GB, free: 65.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09214/6.429, allocations: 36.54 MB / 1.747 GB, free: 40.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/6.429, allocations: 8.812 kB / 1.747 GB, free: 40.68 MB / 494.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.7028/7.131, allocations: 143.5 MB / 1.887 GB, free: 68.46 MB / 0.4982 GB Error: post-optimization module symbolicJacobian (simulation) failed.