Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.536e-05, allocations: 0 / 409.2 MB, free: 90.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.0999, allocations: 44.52 MB / 453.7 MB, free: 46 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.4668, allocations: 146.5 MB / 0.5862 GB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004203/0.4673, allocations: 103.5 kB / 0.5863 GB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.322/2.79, allocations: 453.5 MB / 1.029 GB, free: 20.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.11e-06/2.79, allocations: 0 / 1.029 GB, free: 20.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00141/2.791, allocations: 334 kB / 1.03 GB, free: 20.49 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.08307/2.874, allocations: 13.33 MB / 1.043 GB, free: 16.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/2.874, allocations: 9.844 kB / 1.043 GB, free: 16.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07906/2.953, allocations: 6.456 MB / 1.049 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05253/3.006, allocations: 11.51 MB / 1.06 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001195/3.007, allocations: 0.5986 MB / 1.061 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005755/3.013, allocations: 0.8089 MB / 1.061 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0577/3.071, allocations: 19.08 MB / 1.08 GB, free: 0 / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3033/3.374, allocations: 21.61 MB / 1.101 GB, free: 30.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008379/3.375, allocations: 19.77 kB / 1.101 GB, free: 30.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00686/3.382, allocations: 9.594 kB / 1.101 GB, free: 30.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002143/3.384, allocations: 0.9256 MB / 1.102 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2149/3.599, allocations: 73.66 MB / 1.174 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03725/3.636, allocations: 27.72 MB / 1.201 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02337/3.66, allocations: 9.29 MB / 1.21 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1222/3.782, allocations: 30.36 MB / 1.24 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/3.782, allocations: 120 kB / 1.24 GB, free: 8.664 MB / 462.1 MB Notification: Performance of pre-optimization done (n=934): time 2.947e-05/3.782, allocations: 4 kB / 1.24 GB, free: 8.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=942): time 0.1187/3.901, allocations: 36.59 MB / 1.276 GB, free: 1.801 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/3.901, allocations: 166.4 kB / 1.276 GB, free: 1.621 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2057/4.107, allocations: 3.476 MB / 1.279 GB, free: 84.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002339/4.109, allocations: 25.7 kB / 1.279 GB, free: 84.37 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005947/4.115, allocations: 5.344 MB / 1.285 GB, free: 83.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004725/4.12, allocations: 2.99 MB / 1.287 GB, free: 81.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/4.121, allocations: 3.375 kB / 1.287 GB, free: 81.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0009605/4.122, allocations: 0.6845 MB / 1.288 GB, free: 81 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01465/4.137, allocations: 6.009 MB / 1.294 GB, free: 80.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0165/4.153, allocations: 7.846 MB / 1.302 GB, free: 79.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02514/4.179, allocations: 8.663 MB / 1.31 GB, free: 78.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/4.179, allocations: 12.84 kB / 1.31 GB, free: 78.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.06843/4.247, allocations: 19.25 MB / 1.329 GB, free: 78.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/4.247, allocations: 26.59 kB / 1.329 GB, free: 78.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/4.248, allocations: 56.11 kB / 1.329 GB, free: 78.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02793/4.275, allocations: 5.815 MB / 1.335 GB, free: 78.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01659/4.292, allocations: 1.565 MB / 1.336 GB, free: 78.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0425/4.335, allocations: 20.19 MB / 1.356 GB, free: 67.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008776/4.343, allocations: 315.3 kB / 1.356 GB, free: 67.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002365/4.346, allocations: 380.1 kB / 1.357 GB, free: 67.64 MB / 478.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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.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[2].i.im:VARIABLE(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.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[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] 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] idealCloserQS.idealClosingSwitch[1].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] powerSensorQS.powerSensor[2].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] powerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].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] 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] 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] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "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] 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] idealCloserQS.idealClosingSwitch[2].s.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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] 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[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] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].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.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[3].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[3].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[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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,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 (800): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * 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: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.003272/4.349, allocations: 440.6 kB / 1.357 GB, free: 67.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002212/4.351, allocations: 0.6216 MB / 1.358 GB, free: 67.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05105/4.402, allocations: 18.89 MB / 1.376 GB, free: 59.44 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03499/4.438, allocations: 15.24 MB / 1.391 GB, free: 53.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.681e-05/4.438, allocations: 7.25 kB / 1.391 GB, free: 53.28 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001854/4.438, allocations: 42.16 kB / 1.391 GB, free: 53.28 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08559/4.523, allocations: 34.72 MB / 1.425 GB, free: 25.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.94e-05/4.524, allocations: 6.156 kB / 1.425 GB, free: 25.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00854/4.532, allocations: 1.09 MB / 1.426 GB, free: 24.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01835/4.55, allocations: 5.881 MB / 1.432 GB, free: 19.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002265/4.553, allocations: 113.8 kB / 1.432 GB, free: 19.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2396/4.792, allocations: 24.52 MB / 1.456 GB, free: 73.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/4.792, allocations: 7.312 kB / 1.456 GB, free: 73.64 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.2334/5.026, allocations: 97.16 MB / 1.551 GB, free: 40.6 MB / 478.1 MB Error: post-optimization module symbolicJacobian (simulation) failed.