Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.257e-05, allocations: 4 kB / 369.1 MB, free: 6.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1944, allocations: 44.52 MB / 413.6 MB, free: 82.1 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2934/0.4879, allocations: 109.4 MB / 0.5108 GB, free: 26.11 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4882, allocations: 87.42 kB / 0.5109 GB, free: 26.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011/1.499, allocations: 218.2 MB / 0.7239 GB, free: 46.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/1.499, allocations: 0 / 0.7239 GB, free: 46.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001151/1.5, allocations: 254.9 kB / 0.7242 GB, free: 46.57 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: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.05006/1.55, allocations: 9.645 MB / 0.7336 GB, free: 41.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/1.55, allocations: 11.92 kB / 0.7336 GB, free: 41.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02567/1.576, allocations: 2.127 MB / 0.7357 GB, free: 39.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04317/1.619, allocations: 8.892 MB / 0.7444 GB, free: 30.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001102/1.62, allocations: 440.3 kB / 0.7448 GB, free: 30.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004845/1.625, allocations: 0.5857 MB / 0.7454 GB, free: 29.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0398/1.665, allocations: 10.79 MB / 0.7559 GB, free: 18.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03142/1.697, allocations: 12.32 MB / 0.7679 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002995/1.697, allocations: 19.77 kB / 0.768 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001794/1.699, allocations: 8 kB / 0.768 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003742/1.699, allocations: 456.4 kB / 0.7684 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5924/2.292, allocations: 42.16 MB / 0.8096 GB, free: 46.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02539/2.317, allocations: 24.26 MB / 0.8333 GB, free: 28.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009472/2.326, allocations: 4.717 MB / 0.8379 GB, free: 28.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02871/2.355, allocations: 11.74 MB / 0.8493 GB, free: 27.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/2.355, allocations: 80.61 kB / 0.8494 GB, free: 27.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=419): time 8.847e-06/2.355, allocations: 0 / 0.8494 GB, free: 27.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=425): time 0.03342/2.389, allocations: 13.99 MB / 0.8631 GB, free: 24.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/2.389, allocations: 99.09 kB / 0.8632 GB, free: 24.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007675/2.397, allocations: 3.78 MB / 0.8669 GB, free: 22.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007947/2.397, allocations: 28.36 kB / 0.8669 GB, free: 22.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003112/2.401, allocations: 4.435 MB / 0.8712 GB, free: 19.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001638/2.402, allocations: 1.359 MB / 0.8725 GB, free: 18.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003969/2.403, allocations: 2.438 kB / 0.8725 GB, free: 18.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002924/2.403, allocations: 494 kB / 0.873 GB, free: 18.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003925/2.407, allocations: 2.168 MB / 0.8751 GB, free: 17.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005089/2.412, allocations: 3.285 MB / 0.8783 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006988/2.419, allocations: 3.008 MB / 0.8813 GB, free: 13.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.541e-05/2.419, allocations: 10.88 kB / 0.8813 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=614) (initialization): time 0.0175/2.437, allocations: 7.557 MB / 0.8887 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/2.437, allocations: 18.84 kB / 0.8887 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.048e-05/2.437, allocations: 32.03 kB / 0.8887 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004464/2.441, allocations: 1.425 MB / 0.8901 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005717/2.447, allocations: 0.9831 MB / 0.8911 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03206/2.479, allocations: 25.66 MB / 0.9161 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005089/2.484, allocations: 140 kB / 0.9163 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007713/2.485, allocations: 191.6 kB / 0.9164 GB, free: 5.246 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 510 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 14 * 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: 14 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 22,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00104/2.486, allocations: 237.9 kB / 0.9167 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/2.487, allocations: 0.5153 MB / 0.9172 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/2.505, allocations: 7.524 MB / 0.9245 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.346e-05/2.505, allocations: 42.69 kB / 0.9246 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.576e-05/2.505, allocations: 27 kB / 0.9246 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.138e-05/2.505, allocations: 22.03 kB / 0.9246 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06758/2.572, allocations: 15.03 MB / 0.9393 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.377e-05/2.573, allocations: 4 kB / 0.9393 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005825/2.578, allocations: 458.8 kB / 0.9397 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008723/2.587, allocations: 2.17 MB / 0.9418 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008898/2.588, allocations: 38.28 kB / 0.9419 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2428/2.831, allocations: 33.29 MB / 0.9744 GB, free: 87.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.542e-06/2.831, allocations: 6.125 kB / 0.9744 GB, free: 87.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1535/2.985, allocations: 82.23 MB / 1.055 GB, free: 55.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003687/2.988, allocations: 1.118 MB / 1.056 GB, free: 54.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001852/2.99, allocations: 26.91 kB / 1.056 GB, free: 54.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004047/2.994, allocations: 183.5 kB / 1.056 GB, free: 54.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/2.996, allocations: 439.6 kB / 1.056 GB, free: 54.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004863/2.996, allocations: 120.5 kB / 1.057 GB, free: 54.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006964/3.003, allocations: 2.821 MB / 1.059 GB, free: 53.47 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.51e-07/3.003, allocations: 0 / 1.059 GB, free: 53.47 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01268/3.016, allocations: 2.274 MB / 1.061 GB, free: 53.44 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,aims3.rotor.zeroInductor.i0,loadInertiaM.w,loadInertia3.w,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,49.6%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001385/3.017, allocations: 493.5 kB / 1.062 GB, free: 53.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01256/3.03, allocations: 7.295 MB / 1.069 GB, free: 49.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/3.03, allocations: 5.031 kB / 1.069 GB, free: 49.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01071/3.041, allocations: 5.332 MB / 1.074 GB, free: 46.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00816/3.049, allocations: 1.171 MB / 1.075 GB, free: 46.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04199/3.091, allocations: 20.19 MB / 1.095 GB, free: 31.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01144/3.102, allocations: 6.704 MB / 1.102 GB, free: 26.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.008343/3.111, allocations: 1.2 MB / 1.103 GB, free: 25.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/3.112, allocations: 313.8 kB / 1.103 GB, free: 25.58 MB / 462.1 MB Notification: Performance of SimCode: time 1.714e-06/3.113, allocations: 4 kB / 1.103 GB, free: 25.58 MB / 462.1 MB Notification: Performance of Templates: time 0.4147/3.527, allocations: 93.25 MB / 1.194 GB, free: 75.23 MB / 462.1 MB