Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.193e-05, allocations: 4.094 kB / 385.2 MB, free: 99.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06578/0.06582, allocations: 44.52 MB / 429.7 MB, free: 70.12 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3786/0.4445, allocations: 125.2 MB / 0.5419 GB, free: 8.949 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.4448, allocations: 103.3 kB / 0.542 GB, free: 8.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.906/2.351, allocations: 376.9 MB / 0.91 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.42e-06/2.351, allocations: 0 / 0.91 GB, free: 15.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006374/2.351, allocations: 242.1 kB / 0.9103 GB, free: 15.52 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.0542/2.405, allocations: 10.33 MB / 0.9204 GB, free: 5.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/2.406, allocations: 15.48 kB / 0.9204 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05016/2.456, allocations: 6.273 MB / 0.9265 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03689/2.493, allocations: 8.732 MB / 0.935 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/2.494, allocations: 473.5 kB / 0.9355 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005965/2.5, allocations: 0.6093 MB / 0.9361 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6138/3.114, allocations: 15.44 MB / 0.9511 GB, free: 33.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05239/3.166, allocations: 17.29 MB / 0.968 GB, free: 31.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004779/3.167, allocations: 16.69 kB / 0.9681 GB, free: 31.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003934/3.171, allocations: 7.562 kB / 0.9681 GB, free: 31.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001262/3.172, allocations: 0.8178 MB / 0.9689 GB, free: 31.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.156/3.328, allocations: 60.57 MB / 1.028 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03554/3.363, allocations: 25.12 MB / 1.053 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02051/3.384, allocations: 8.473 MB / 1.061 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09661/3.481, allocations: 27.31 MB / 1.087 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/3.481, allocations: 118.1 kB / 1.088 GB, free: 5.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=829): time 2.268e-05/3.481, allocations: 0 / 1.088 GB, free: 5.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=835): time 0.3431/3.824, allocations: 32.53 MB / 1.119 GB, free: 73.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/3.824, allocations: 123.8 kB / 1.119 GB, free: 72.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007722/3.832, allocations: 2.305 MB / 1.122 GB, free: 72.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001964/3.834, allocations: 29.7 kB / 1.122 GB, free: 72.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004654/3.839, allocations: 3.874 MB / 1.126 GB, free: 71.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.005253/3.844, allocations: 2.647 MB / 1.128 GB, free: 70.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/3.846, allocations: 1 kB / 1.128 GB, free: 70.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.001207/3.847, allocations: 0.6345 MB / 1.129 GB, free: 69.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01625/3.863, allocations: 5.586 MB / 1.134 GB, free: 69.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01457/3.878, allocations: 7.009 MB / 1.141 GB, free: 68.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02464/3.903, allocations: 8.116 MB / 1.149 GB, free: 68.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/3.903, allocations: 14.5 kB / 1.149 GB, free: 68.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=1041) (initialization): time 0.0652/3.968, allocations: 17.17 MB / 1.166 GB, free: 67.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/3.968, allocations: 22.19 kB / 1.166 GB, free: 67.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.522e-05/3.968, allocations: 41.05 kB / 1.166 GB, free: 67.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01464/3.983, allocations: 4.948 MB / 1.171 GB, free: 67.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008605/3.992, allocations: 1.399 MB / 1.172 GB, free: 67.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02027/4.012, allocations: 12.66 MB / 1.184 GB, free: 64.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008566/4.021, allocations: 345.9 kB / 1.185 GB, free: 64.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002316/4.023, allocations: 323.9 kB / 1.185 GB, free: 64.43 MB / 462.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imsQS.stator.resistor.resistor[2].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[3].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[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] resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[1].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[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[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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: iSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] pSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] pSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[2].i.im:VARIABLE(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.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.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[3].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.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[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: starRotorQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starRotorQS.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: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (701): * Single equations (assignments): 635 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.004508/4.028, allocations: 390.4 kB / 1.185 GB, free: 64.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00274/4.03, allocations: 484 kB / 1.186 GB, free: 64.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04703/4.077, allocations: 16.87 MB / 1.202 GB, free: 59.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04045/4.118, allocations: 15.43 MB / 1.217 GB, free: 53.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.052e-05/4.118, allocations: 3.953 kB / 1.217 GB, free: 53.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001575/4.118, allocations: 31.61 kB / 1.217 GB, free: 53.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08239/4.201, allocations: 30.4 MB / 1.247 GB, free: 35.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001101/4.201, allocations: 2.531 kB / 1.247 GB, free: 35.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0099/4.211, allocations: 1.08 MB / 1.248 GB, free: 34.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01498/4.226, allocations: 4.754 MB / 1.253 GB, free: 30.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00184/4.228, allocations: 87.97 kB / 1.253 GB, free: 30.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/4.247, allocations: 12.46 MB / 1.265 GB, free: 19.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.646e-06/4.248, allocations: 0 / 1.265 GB, free: 19.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4006/4.648, allocations: 37.26 MB / 1.301 GB, free: 69.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00696/4.655, allocations: 1.842 MB / 1.303 GB, free: 69.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002717/4.658, allocations: 3.844 kB / 1.303 GB, free: 69.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006897/4.665, allocations: 316.6 kB / 1.304 GB, free: 69.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002789/4.668, allocations: 0.5933 MB / 1.304 GB, free: 69.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001631/4.669, allocations: 222.2 kB / 1.304 GB, free: 69.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003629/4.673, allocations: 1.699 MB / 1.306 GB, free: 69.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.188e-06/4.673, allocations: 3.75 kB / 1.306 GB, free: 69.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01162/4.685, allocations: 1.917 MB / 1.308 GB, free: 69.25 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 470 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,16 117} Notification: Performance of Backend phase and start with SimCode phase: time 0.002482/4.687, allocations: 452.6 kB / 1.308 GB, free: 69.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.03186/4.719, allocations: 13.52 MB / 1.322 GB, free: 68.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.197e-06/4.719, allocations: 0 / 1.322 GB, free: 68.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01891/4.738, allocations: 7.055 MB / 1.328 GB, free: 68.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006865/4.745, allocations: 0.7481 MB / 1.329 GB, free: 68.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06608/4.811, allocations: 26.79 MB / 1.355 GB, free: 62.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01729/4.828, allocations: 7.582 MB / 1.363 GB, free: 60.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0111/4.84, allocations: 1.848 MB / 1.365 GB, free: 60.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002938/4.843, allocations: 365.5 kB / 1.365 GB, free: 59.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.799e-06/4.843, allocations: 0 / 1.365 GB, free: 59.98 MB / 462.1 MB Notification: Performance of Templates: time 0.542/5.385, allocations: 113.3 MB / 1.476 GB, free: 71.16 MB / 462.1 MB