Notification: Performance of FrontEnd - loaded program: time 2.413e-05/2.467e-05, allocations: 7.984 kB / 364.2 MB, free: 11.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2212, allocations: 44.51 MB / 408.8 MB, free: 82.72 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3805/0.6017, allocations: 104.7 MB / 0.5015 GB, free: 43.87 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/0.6022, allocations: 84.41 kB / 0.5015 GB, free: 43.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3223/0.9245, allocations: 87.14 MB / 0.5866 GB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.269e-06/0.9245, allocations: 0 / 0.5866 GB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003045/0.9248, allocations: 92.06 kB / 0.5867 GB, free: 10.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.0121/0.9369, allocations: 3.757 MB / 0.5904 GB, free: 7.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.937, allocations: 19.97 kB / 0.5904 GB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005574/0.9426, allocations: 0.7836 MB / 0.5912 GB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.9541, allocations: 3.661 MB / 0.5948 GB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.9544, allocations: 155.6 kB / 0.5949 GB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007665/0.9552, allocations: 219.9 kB / 0.5951 GB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01587/0.9711, allocations: 3.794 MB / 0.5988 GB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.9906, allocations: 4.326 MB / 0.603 GB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001657/0.9908, allocations: 4 kB / 0.603 GB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007486/0.9916, allocations: 4 kB / 0.603 GB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003273/0.9919, allocations: 159.2 kB / 0.6032 GB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04063/1.033, allocations: 15.28 MB / 0.6181 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009447/1.042, allocations: 7.591 MB / 0.6255 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/1.046, allocations: 1.58 MB / 0.6271 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/1.057, allocations: 4.506 MB / 0.6315 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/1.057, allocations: 59.81 kB / 0.6315 GB, free: 11.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=159): time 5.782e-06/1.057, allocations: 0 / 0.6315 GB, free: 11.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=162): time 0.01497/1.072, allocations: 5.562 MB / 0.637 GB, free: 5.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/1.072, allocations: 68.72 kB / 0.637 GB, free: 5.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/1.076, allocations: 1.569 MB / 0.6386 GB, free: 3.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003191/1.076, allocations: 25.7 kB / 0.6386 GB, free: 3.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.078, allocations: 1.622 MB / 0.6402 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009963/1.079, allocations: 0.5274 MB / 0.6407 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/1.079, allocations: 0 / 0.6407 GB, free: 1.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003173/1.08, allocations: 381.8 kB / 0.6411 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/1.082, allocations: 0.8317 MB / 0.6419 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1697/1.252, allocations: 1.292 MB / 0.6431 GB, free: 75.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005021/1.257, allocations: 1.178 MB / 0.6443 GB, free: 75.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.515e-05/1.257, allocations: 4.125 kB / 0.6443 GB, free: 75.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01271/1.27, allocations: 3.09 MB / 0.6473 GB, free: 75.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/1.27, allocations: 11.27 kB / 0.6473 GB, free: 75.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.985e-05/1.27, allocations: 11.56 kB / 0.6473 GB, free: 75.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003642/1.274, allocations: 0.7012 MB / 0.648 GB, free: 75.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/1.277, allocations: 363.5 kB / 0.6484 GB, free: 75.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/1.296, allocations: 10.01 MB / 0.6581 GB, free: 70.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/1.307, allocations: 58.72 kB / 0.6582 GB, free: 70.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005762/1.307, allocations: 76.72 kB / 0.6583 GB, free: 70.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006757/1.308, allocations: 159.9 kB / 0.6584 GB, free: 70.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008537/1.309, allocations: 209.5 kB / 0.6586 GB, free: 70.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.32, allocations: 3.003 MB / 0.6615 GB, free: 70.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/1.32, allocations: 15.19 kB / 0.6616 GB, free: 70.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.639e-05/1.32, allocations: 11.12 kB / 0.6616 GB, free: 70.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-05/1.32, allocations: 7.781 kB / 0.6616 GB, free: 70.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/1.341, allocations: 5.902 MB / 0.6673 GB, free: 69.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.341, allocations: 0 / 0.6673 GB, free: 69.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/1.343, allocations: 177.8 kB / 0.6675 GB, free: 69.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004766/1.347, allocations: 0.8702 MB / 0.6684 GB, free: 69.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003682/1.348, allocations: 22.84 kB / 0.6684 GB, free: 69.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03002/1.378, allocations: 14.22 MB / 0.6823 GB, free: 61.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1e-05/1.378, allocations: 3.875 kB / 0.6823 GB, free: 61.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09752/1.475, allocations: 33.42 MB / 0.7149 GB, free: 43.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/1.478, allocations: 0.4984 MB / 0.7154 GB, free: 43.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008836/1.479, allocations: 11.38 kB / 0.7154 GB, free: 43.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.481, allocations: 63.5 kB / 0.7155 GB, free: 43.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004459/1.481, allocations: 159.3 kB / 0.7156 GB, free: 43.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/1.481, allocations: 46.06 kB / 0.7157 GB, free: 43.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002202/1.484, allocations: 1.17 MB / 0.7168 GB, free: 43.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.88e-07/1.484, allocations: 0 / 0.7168 GB, free: 43.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00449/1.488, allocations: 0.889 MB / 0.7177 GB, free: 43.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006296/1.489, allocations: 324.1 kB / 0.718 GB, free: 42.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004736/1.494, allocations: 2.82 MB / 0.7207 GB, free: 41.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/1.494, allocations: 0 / 0.7207 GB, free: 41.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003701/1.497, allocations: 2.092 MB / 0.7228 GB, free: 40.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/1.5, allocations: 470.3 kB / 0.7232 GB, free: 40.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.516, allocations: 7.534 MB / 0.7306 GB, free: 36.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003613/1.519, allocations: 2.801 MB / 0.7333 GB, free: 35.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002143/1.521, allocations: 445.4 kB / 0.7337 GB, free: 35.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/1.522, allocations: 129.8 kB / 0.7339 GB, free: 35.1 MB / 398.1 MB Notification: Performance of SimCode: time 1.355e-06/1.522, allocations: 0 / 0.7339 GB, free: 35.1 MB / 398.1 MB Notification: Performance of Templates: time 0.1265/1.648, allocations: 36.77 MB / 0.7698 GB, free: 13.69 MB / 398.1 MB