Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.707e-05, allocations: 4.719 kB / 383.6 MB, free: 98.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05848/0.05851, allocations: 44.51 MB / 428.1 MB, free: 71.48 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2652/0.3238, allocations: 123.6 MB / 0.5388 GB, free: 11.66 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.324, allocations: 82.11 kB / 0.5389 GB, free: 11.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7359/1.06, allocations: 148.7 MB / 0.6841 GB, free: 60.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.602e-06/1.06, allocations: 0 / 0.6841 GB, free: 60.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009417/1.061, allocations: 181.5 kB / 0.6842 GB, free: 60.69 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.03422/1.095, allocations: 6.638 MB / 0.6907 GB, free: 58.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/1.095, allocations: 12.81 kB / 0.6907 GB, free: 58.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008273/1.104, allocations: 1.242 MB / 0.6919 GB, free: 57.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01822/1.122, allocations: 6.232 MB / 0.698 GB, free: 56.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/1.122, allocations: 287.3 kB / 0.6983 GB, free: 56.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001784/1.124, allocations: 407.1 kB / 0.6987 GB, free: 56.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01915/1.143, allocations: 7.023 MB / 0.7055 GB, free: 56.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02341/1.167, allocations: 8.19 MB / 0.7135 GB, free: 54.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/1.167, allocations: 17.47 kB / 0.7136 GB, free: 54.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00152/1.168, allocations: 7.578 kB / 0.7136 GB, free: 54.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002598/1.169, allocations: 295.8 kB / 0.7138 GB, free: 54.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05811/1.227, allocations: 28.15 MB / 0.7413 GB, free: 36.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/1.239, allocations: 11.58 MB / 0.7526 GB, free: 24.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005823/1.245, allocations: 3.149 MB / 0.7557 GB, free: 21.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01502/1.26, allocations: 6.597 MB / 0.7622 GB, free: 16.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.476e-05/1.26, allocations: 72.77 kB / 0.7622 GB, free: 16.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=306): time 7.222e-06/1.26, allocations: 0 / 0.7622 GB, free: 16.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=325): time 0.02567/1.286, allocations: 11.05 MB / 0.773 GB, free: 6.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/1.286, allocations: 85.97 kB / 0.7731 GB, free: 6.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005099/1.291, allocations: 2.797 MB / 0.7758 GB, free: 3.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005679/1.291, allocations: 25.7 kB / 0.7759 GB, free: 3.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002766/1.294, allocations: 3.067 MB / 0.7788 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00153/1.296, allocations: 1.05 MB / 0.7799 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/1.296, allocations: 0 / 0.7799 GB, free: 15.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003645/1.296, allocations: 460.9 kB / 0.7803 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/1.3, allocations: 1.718 MB / 0.782 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004502/1.304, allocations: 2.601 MB / 0.7845 GB, free: 10.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005339/1.31, allocations: 2.259 MB / 0.7867 GB, free: 8.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-05/1.31, allocations: 8 kB / 0.7867 GB, free: 8.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01455/1.324, allocations: 5.919 MB / 0.7925 GB, free: 2.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/1.325, allocations: 19.2 kB / 0.7925 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.208e-05/1.325, allocations: 28 kB / 0.7926 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/1.329, allocations: 1.215 MB / 0.7938 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/1.333, allocations: 0.8151 MB / 0.7946 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1573/1.49, allocations: 19.85 MB / 0.8139 GB, free: 57.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/1.494, allocations: 121 kB / 0.8141 GB, free: 57.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005894/1.495, allocations: 156.2 kB / 0.8142 GB, free: 57.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(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.0008091/1.496, allocations: 202.4 kB / 0.8144 GB, free: 57.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.497, allocations: 401.2 kB / 0.8148 GB, free: 57.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/1.51, allocations: 5.762 MB / 0.8204 GB, free: 56.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.51, allocations: 36.83 kB / 0.8204 GB, free: 56.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.058e-05/1.51, allocations: 16.16 kB / 0.8205 GB, free: 56.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.135e-05/1.51, allocations: 17.67 kB / 0.8205 GB, free: 56.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/1.535, allocations: 11.19 MB / 0.8314 GB, free: 55.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/1.536, allocations: 2.969 kB / 0.8314 GB, free: 55.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/1.538, allocations: 463.1 kB / 0.8318 GB, free: 55.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005076/1.544, allocations: 1.564 MB / 0.8334 GB, free: 55.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004841/1.544, allocations: 28.61 kB / 0.8334 GB, free: 55.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02914/1.573, allocations: 28.97 MB / 0.8617 GB, free: 35.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.155e-06/1.573, allocations: 5.906 kB / 0.8617 GB, free: 35.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1393/1.713, allocations: 71.84 MB / 0.9318 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/1.715, allocations: 0.8606 MB / 0.9327 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006525/1.716, allocations: 18.19 kB / 0.9327 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.718, allocations: 151.4 kB / 0.9328 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008422/1.719, allocations: 282.2 kB / 0.9331 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000327/1.719, allocations: 87.7 kB / 0.9332 GB, free: 7.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004192/1.724, allocations: 2.079 MB / 0.9352 GB, free: 5.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.82e-07/1.724, allocations: 0 / 0.9352 GB, free: 5.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008969/1.733, allocations: 1.666 MB / 0.9369 GB, free: 3.762 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/1.734, allocations: 458.3 kB / 0.9373 GB, free: 3.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01129/1.745, allocations: 5.904 MB / 0.9431 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.745, allocations: 4 kB / 0.9431 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008818/1.754, allocations: 4.516 MB / 0.9475 GB, free: 9.684 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006003/1.76, allocations: 0.9513 MB / 0.9484 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1907/1.951, allocations: 15.24 MB / 0.9633 GB, free: 85.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01535/1.966, allocations: 4.733 MB / 0.9679 GB, free: 85.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.009315/1.976, allocations: 1.019 MB / 0.9689 GB, free: 84.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002506/1.978, allocations: 259.8 kB / 0.9691 GB, free: 84.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.355e-06/1.978, allocations: 1.156 kB / 0.9692 GB, free: 84.97 MB / 446.1 MB Notification: Performance of Templates: time 0.2534/2.232, allocations: 71.43 MB / 1.039 GB, free: 72.97 MB / 446.1 MB