Notification: Performance of FrontEnd - loaded program: time 1.585e-05/1.603e-05, allocations: 4 kB / 419.2 MB, free: 80.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.0898, allocations: 44.52 MB / 463.7 MB, free: 35.85 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5369, allocations: 155.6 MB / 0.6048 GB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.5372, allocations: 105 kB / 0.6049 GB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.919/2.457, allocations: 392.4 MB / 0.9881 GB, free: 28.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.742e-06/2.457, allocations: 0 / 0.9881 GB, free: 28.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00121/2.458, allocations: 306.2 kB / 0.9884 GB, free: 28.62 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: 3594 * Number of variables: 3594 Notification: Performance of Generate backend data structure: time 0.06071/2.519, allocations: 11.38 MB / 0.9995 GB, free: 24.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/2.519, allocations: 13.88 kB / 0.9995 GB, free: 24.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06775/2.587, allocations: 6.406 MB / 1.006 GB, free: 24.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04809/2.635, allocations: 9.645 MB / 1.015 GB, free: 22.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001665/2.636, allocations: 0.5399 MB / 1.016 GB, free: 22.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00734/2.644, allocations: 0.7322 MB / 1.016 GB, free: 22.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05868/2.703, allocations: 16.4 MB / 1.032 GB, free: 22.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06196/2.765, allocations: 18.62 MB / 1.051 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008247/2.765, allocations: 28.53 kB / 1.051 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004437/2.77, allocations: 9.781 kB / 1.051 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00133/2.771, allocations: 0.8562 MB / 1.051 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3679/3.139, allocations: 64.82 MB / 1.115 GB, free: 51.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05421/3.194, allocations: 45.58 MB / 1.159 GB, free: 32.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01777/3.211, allocations: 7.738 MB / 1.167 GB, free: 32.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06875/3.28, allocations: 24.33 MB / 1.191 GB, free: 31.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/3.28, allocations: 109.4 kB / 1.191 GB, free: 31.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=775): time 2.511e-05/3.28, allocations: 0 / 1.191 GB, free: 31.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=819): time 0.1136/3.394, allocations: 29.86 MB / 1.22 GB, free: 24.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/3.396, allocations: 125.1 kB / 1.22 GB, free: 23.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007557/3.403, allocations: 3.245 MB / 1.223 GB, free: 22.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001446/3.405, allocations: 25.7 kB / 1.223 GB, free: 22.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003672/3.408, allocations: 5.085 MB / 1.228 GB, free: 18.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003881/3.412, allocations: 2.621 MB / 1.231 GB, free: 16.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009385/3.413, allocations: 6.047 kB / 1.231 GB, free: 16.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0009172/3.414, allocations: 0.6741 MB / 1.231 GB, free: 16.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01142/3.426, allocations: 5.132 MB / 1.236 GB, free: 14.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01482/3.441, allocations: 7.556 MB / 1.244 GB, free: 8.922 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0201/3.461, allocations: 7.559 MB / 1.251 GB, free: 6.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/3.461, allocations: 26.31 kB / 1.251 GB, free: 6.117 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.05372/3.515, allocations: 16.73 MB / 1.268 GB, free: 13.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/3.515, allocations: 36 kB / 1.268 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/3.515, allocations: 76 kB / 1.268 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01212/3.527, allocations: 4.076 MB / 1.272 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/3.537, allocations: 1.727 MB / 1.273 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2197/3.757, allocations: 12.38 MB / 1.285 GB, free: 80.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/3.768, allocations: 332.4 kB / 1.286 GB, free: 80.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002891/3.771, allocations: 400.4 kB / 1.286 GB, free: 80.73 MB / 478.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starMQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[3].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: smpmQS.stator.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real smpmQS.stator.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real resistorQS.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] currentRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" 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[2].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[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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[3].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] 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.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: 343 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 820 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.004465/3.775, allocations: 461 kB / 1.287 GB, free: 80.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004049/3.78, allocations: 0.5765 MB / 1.287 GB, free: 80.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05286/3.832, allocations: 15.13 MB / 1.302 GB, free: 80.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003589/3.833, allocations: 192.1 kB / 1.302 GB, free: 80.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.113e-05/3.833, allocations: 6.281 kB / 1.302 GB, free: 80.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001769/3.833, allocations: 35.97 kB / 1.302 GB, free: 80.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1065/3.94, allocations: 28.26 MB / 1.33 GB, free: 79.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000106/3.94, allocations: 3.688 kB / 1.33 GB, free: 79.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01231/3.952, allocations: 1.11 MB / 1.331 GB, free: 79.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0126/3.965, allocations: 3.946 MB / 1.335 GB, free: 79.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001839/3.967, allocations: 88.77 kB / 1.335 GB, free: 79.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/3.984, allocations: 12.22 MB / 1.347 GB, free: 74.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.788e-06/3.984, allocations: 5.062 kB / 1.347 GB, free: 74.79 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.1454/4.129, allocations: 64.15 MB / 1.409 GB, free: 41.25 MB / 478.1 MB Error: post-optimization module symbolicJacobian (simulation) failed.