Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.307e-05, allocations: 4 kB / 412.8 MB, free: 86.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05924/0.05929, allocations: 44.52 MB / 457.3 MB, free: 42.27 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.457/0.5163, allocations: 149.5 MB / 0.5925 GB, free: 10.95 MB / 366.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.5167, allocations: 102 kB / 0.5926 GB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.98/2.497, allocations: 381.4 MB / 0.9651 GB, free: 26.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.557e-06/2.497, allocations: 0 / 0.9651 GB, free: 26.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007804/2.498, allocations: 294.8 kB / 0.9654 GB, free: 26.28 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: 3509 * Number of variables: 3509 Notification: Performance of Generate backend data structure: time 0.0425/2.54, allocations: 11.11 MB / 0.9763 GB, free: 22.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/2.54, allocations: 5.438 kB / 0.9763 GB, free: 22.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05959/2.6, allocations: 6.325 MB / 0.9824 GB, free: 21.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04506/2.645, allocations: 9.448 MB / 0.9917 GB, free: 20.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001635/2.647, allocations: 0.5247 MB / 0.9922 GB, free: 20.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007192/2.654, allocations: 0.7102 MB / 0.9929 GB, free: 20.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06516/2.719, allocations: 16.17 MB / 1.009 GB, free: 20.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07213/2.791, allocations: 18.31 MB / 1.027 GB, free: 19.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005594/2.792, allocations: 24.91 kB / 1.027 GB, free: 19.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003938/2.796, allocations: 7.5 kB / 1.027 GB, free: 19.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001012/2.797, allocations: 0.8364 MB / 1.027 GB, free: 19.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.215/3.012, allocations: 62.89 MB / 1.089 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2316/3.244, allocations: 45.28 MB / 1.133 GB, free: 18.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02493/3.269, allocations: 7.675 MB / 1.141 GB, free: 18.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08656/3.355, allocations: 24.04 MB / 1.164 GB, free: 17.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/3.356, allocations: 103.3 kB / 1.164 GB, free: 17.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=763): time 2.662e-05/3.356, allocations: 0 / 1.164 GB, free: 17.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=805): time 0.09984/3.455, allocations: 29.35 MB / 1.193 GB, free: 14.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/3.456, allocations: 124.3 kB / 1.193 GB, free: 14.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006181/3.462, allocations: 3.079 MB / 1.196 GB, free: 14.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001437/3.463, allocations: 29.58 kB / 1.196 GB, free: 14.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002985/3.466, allocations: 4.919 MB / 1.201 GB, free: 11.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003484/3.47, allocations: 2.583 MB / 1.203 GB, free: 9.098 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/3.471, allocations: 0 / 1.203 GB, free: 9.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0007942/3.472, allocations: 0.6634 MB / 1.204 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0096/3.482, allocations: 5.072 MB / 1.209 GB, free: 6.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01176/3.493, allocations: 7.43 MB / 1.216 GB, free: 1.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02105/3.514, allocations: 7.598 MB / 1.224 GB, free: 15.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.65e-05/3.515, allocations: 24.91 kB / 1.224 GB, free: 15.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.0482/3.563, allocations: 16.09 MB / 1.239 GB, free: 9.297 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/3.563, allocations: 38.88 kB / 1.239 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/3.563, allocations: 72.72 kB / 1.239 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01458/3.578, allocations: 4.068 MB / 1.243 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/3.59, allocations: 1.674 MB / 1.245 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02504/3.615, allocations: 12.38 MB / 1.257 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/3.627, allocations: 322.7 kB / 1.257 GB, free: 28 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005742/3.633, allocations: 0.4961 MB / 1.258 GB, free: 0 / 462.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[3].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[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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: smrQS.stator.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real smrQS.stator.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real 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] 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.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smrQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smrQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smrQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smrQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smrQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smrQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real 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[2].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] currentRMSSensorQS.currentSensor[1].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[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] 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[1].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[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] 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.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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (852): * Single equations (assignments): 796 * 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.004955/3.638, allocations: 457.6 kB / 1.258 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003227/3.641, allocations: 0.5502 MB / 1.259 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05646/3.697, allocations: 14.97 MB / 1.273 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003982/3.698, allocations: 194.9 kB / 1.274 GB, free: 2.457 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-05/3.698, allocations: 4 kB / 1.274 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001695/3.698, allocations: 38.98 kB / 1.274 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2541/3.952, allocations: 28.11 MB / 1.301 GB, free: 83.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.895e-05/3.952, allocations: 1.125 kB / 1.301 GB, free: 83.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007184/3.959, allocations: 1.085 MB / 1.302 GB, free: 83.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0105/3.97, allocations: 3.941 MB / 1.306 GB, free: 83.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001552/3.972, allocations: 82.12 kB / 1.306 GB, free: 83.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/3.987, allocations: 12.19 MB / 1.318 GB, free: 78.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/3.987, allocations: 7.125 kB / 1.318 GB, free: 78.8 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.149/4.136, allocations: 63.16 MB / 1.38 GB, free: 56.99 MB / 478.1 MB Error: post-optimization module symbolicJacobian (simulation) failed.