Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.764e-05, allocations: 0 / 365.7 MB, free: 9.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1788, allocations: 44.52 MB / 410.2 MB, free: 82.58 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2697/0.4485, allocations: 106.1 MB / 0.5042 GB, free: 44.43 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4488, allocations: 84.27 kB / 0.5043 GB, free: 44.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9025/1.351, allocations: 180.7 MB / 0.6808 GB, free: 41.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.584e-06/1.351, allocations: 3.281 kB / 0.6808 GB, free: 41.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005593/1.352, allocations: 190.8 kB / 0.681 GB, free: 41.4 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02378/1.376, allocations: 7.686 MB / 0.6885 GB, free: 38.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/1.376, allocations: 7.031 kB / 0.6885 GB, free: 38.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/1.388, allocations: 1.828 MB / 0.6903 GB, free: 38.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/1.406, allocations: 6.949 MB / 0.6971 GB, free: 37.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/1.407, allocations: 342.9 kB / 0.6974 GB, free: 37.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/1.409, allocations: 480.6 kB / 0.6978 GB, free: 37.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01965/1.429, allocations: 8.514 MB / 0.7062 GB, free: 37.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02375/1.452, allocations: 9.6 MB / 0.7155 GB, free: 36.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002224/1.453, allocations: 21.73 kB / 0.7156 GB, free: 36.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/1.454, allocations: 7.578 kB / 0.7156 GB, free: 36.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000378/1.454, allocations: 365.7 kB / 0.7159 GB, free: 36.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06284/1.517, allocations: 32.99 MB / 0.7481 GB, free: 20.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/1.537, allocations: 19.47 MB / 0.7671 GB, free: 19.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006187/1.543, allocations: 3.461 MB / 0.7705 GB, free: 16.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02103/1.564, allocations: 9.125 MB / 0.7794 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.966e-05/1.564, allocations: 69.05 kB / 0.7795 GB, free: 8.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=315): time 7.108e-06/1.564, allocations: 0 / 0.7795 GB, free: 8.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=321): time 0.02862/1.593, allocations: 10.5 MB / 0.7898 GB, free: 15.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/1.593, allocations: 85.94 kB / 0.7898 GB, free: 15.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00676/1.599, allocations: 3.131 MB / 0.7929 GB, free: 13.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005414/1.6, allocations: 29.7 kB / 0.7929 GB, free: 12.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003461/1.604, allocations: 3.537 MB / 0.7964 GB, free: 9.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001548/1.605, allocations: 1.032 MB / 0.7974 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/1.605, allocations: 0 / 0.7974 GB, free: 8.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003532/1.606, allocations: 460.6 kB / 0.7978 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/1.609, allocations: 1.615 MB / 0.7994 GB, free: 7.031 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/1.614, allocations: 2.614 MB / 0.802 GB, free: 4.195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006627/1.62, allocations: 2.398 MB / 0.8043 GB, free: 2.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.852e-05/1.62, allocations: 15.95 kB / 0.8043 GB, free: 2.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.1944/1.815, allocations: 5.611 MB / 0.8098 GB, free: 67.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/1.815, allocations: 19.05 kB / 0.8098 GB, free: 67.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.974e-05/1.815, allocations: 30.72 kB / 0.8098 GB, free: 67.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002999/1.818, allocations: 0.7839 MB / 0.8106 GB, free: 67.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004255/1.822, allocations: 0.807 MB / 0.8114 GB, free: 67.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/1.837, allocations: 14.26 MB / 0.8253 GB, free: 58.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/1.841, allocations: 107.1 kB / 0.8254 GB, free: 58.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007173/1.842, allocations: 158.4 kB / 0.8256 GB, free: 58.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (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 (427): * Single equations (assignments): 418 * 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: 7 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007772/1.843, allocations: 223.5 kB / 0.8258 GB, free: 58.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.844, allocations: 411.8 kB / 0.8262 GB, free: 58.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02835/1.872, allocations: 5.366 MB / 0.8314 GB, free: 57.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.551e-05/1.873, allocations: 36.94 kB / 0.8315 GB, free: 57.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-05/1.873, allocations: 19.22 kB / 0.8315 GB, free: 57.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.545e-05/1.873, allocations: 17.97 kB / 0.8315 GB, free: 57.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05214/1.925, allocations: 11.27 MB / 0.8425 GB, free: 57.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/1.925, allocations: 8.047 kB / 0.8425 GB, free: 57.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0033/1.928, allocations: 367.8 kB / 0.8429 GB, free: 57.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01025/1.939, allocations: 1.331 MB / 0.8442 GB, free: 56.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007934/1.939, allocations: 48.44 kB / 0.8442 GB, free: 56.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03413/1.974, allocations: 23.11 MB / 0.8668 GB, free: 45.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.732e-06/1.974, allocations: 10.41 kB / 0.8668 GB, free: 45.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09957/2.073, allocations: 56.48 MB / 0.9219 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00268/2.076, allocations: 0.8909 MB / 0.9228 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008403/2.077, allocations: 34.59 kB / 0.9228 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/2.079, allocations: 131 kB / 0.923 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008763/2.08, allocations: 325.3 kB / 0.9233 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002858/2.081, allocations: 92.42 kB / 0.9234 GB, free: 13.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005064/2.086, allocations: 2.338 MB / 0.9256 GB, free: 12.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.005e-06/2.086, allocations: 0 / 0.9256 GB, free: 12.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.009443/2.095, allocations: 1.747 MB / 0.9274 GB, free: 12.76 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(6,72.2%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/2.096, allocations: 420.4 kB / 0.9278 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008525/2.105, allocations: 5.106 MB / 0.9327 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/2.105, allocations: 5.688 kB / 0.9327 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007028/2.112, allocations: 3.794 MB / 0.9364 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005243/2.117, allocations: 0.8413 MB / 0.9373 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04193/2.159, allocations: 15.39 MB / 0.9523 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01387/2.173, allocations: 5.348 MB / 0.9575 GB, free: 6.102 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005146/2.178, allocations: 0.9543 MB / 0.9585 GB, free: 5.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/2.179, allocations: 259.3 kB / 0.9587 GB, free: 5.199 MB / 446.1 MB Notification: Performance of SimCode: time 2.383e-06/2.179, allocations: 0 / 0.9587 GB, free: 5.199 MB / 446.1 MB Notification: Performance of Templates: time 0.4259/2.605, allocations: 67.29 MB / 1.024 GB, free: 65.29 MB / 446.1 MB